THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
# For the end-to-end tests, Impala must be running: ./bin/start-impala-cluster.py ./tests/run-tests.py # To run the tests in just one directory: ./tests/run-tests.py metadata # To run the tests in that directory with a matching name: ./tests/run-tests.py metadata -k test_partition_metadata_compatibility # To run the tests in a file with a matching name: ./tests/run-tests.py query_test/test_insert.py -k test_limit # To run the tests that don't match a name: ./tests/run-tests.py query_test/test_insert.py -k "-test_limit". # To run the tests with more restrictive name-matching ./bin/impala-py.test tests/shell/test_shell_commandline.py::TestImpalaShell::test_multiple_queries # To run tests only against a specific file format(s): ./tests/run-tests.py --filetable_format_filterformats="seq/snap/block,text"/none # To change the impalad instance to connect to (default is localhost:21000): ./tests/run-tests.py --impalad=hostname:port # To use a different exploration strategy (default is core): ./tests/run-tests.py --exploration_strategy=exhaustive # To run a particular .test file, e.g. testdata/workloads/functional-query/queries/QueryTest/exprs.test # search for a .py test file which refers to the test, (try 'grep -r QueryTest/exprs tests') # then run that test file (in this case tests/query_test/test_exprs.py) using run-tests.py ./tests/run-tests.py query_test/test_exprs.py # To update the results of tests (The new test files will be located in ${IMPALA_EE_TEST_LOGS_DIR}/test_file_name.test): ./tests/run-tests.py --update_results |
...