THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Loading test data
bin/create_testdata.sh testdata/bin/run-all.sh bin/start-impala-cluster.py testdata/bin/create-load-data.sh
All tests:
./bin/run-all-tests.sh
Just front-end tests
# For the front-end tests, Impala must be running: ./bin/start-impala-cluster.py (push fe && mvn -fae test) # To run one group of tests: (pushd fe && mvn -fae test -Dtest=AnalyzeStmtsTest) # To run a single test: (pushd fe && mvn -fae test -Dtest=AnalyzeStmtsTest#TestStar)
Just back-end tests
# For the back-end tests, the Impala cluster must not be running: ./bin/start-impala-cluster.py --kill ./bin/run-backend-tests.sh # or ctest # To run just one test (and show what broke): ctest --output-on-failure -R expr-test
Just end-to-end tests
# 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 tests only against a specific file format(s): ./tests/run-tests.py --file_format_filter="seq,text" # To change the impalad instance to connect to (default is localhost:21000): ./tests/run_tests.sh --impalad=hostname:port # To use a different exploration strategy (default is core): run_tests.sh --exploration_strategy=exhaustive # To update the results of tests (The new test files will be located in /tmp/test_file_name.test): run_tests.sh --update_results