Jim Apple created IMPALA-5886:
---------------------------------

             Summary: run-tests.py returns error overeagerly
                 Key: IMPALA-5886
                 URL: https://issues.apache.org/jira/browse/IMPALA-5886
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 2.10.0
            Reporter: Jim Apple


{{pytest.main}} returns 5 if no tests are selected. When EE tests are run but 
no tests of one of the categories (serial, stress, other) is run, then 
run-tests.py calls {{sys.exit(1)}}. The {{exit_code}} in the {{run_tests}} 
method should check for the designated return value 5, "No tests were 
collected": https://docs.pytest.org/en/latest/usage.html

repro:
{{FE_TEST=false BE_TEST=false EE_TEST=true 
EE_TEST_FILES=query_test/test_udfs.py JDBC_TEST=false CLUSTER_TEST=false 
bin/run-all-tests.sh}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to