Andrew Sherman has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17212
Change subject: IMPALA-10592: prevent pytest from hanging at exit. ...................................................................... IMPALA-10592: prevent pytest from hanging at exit. In TestAdmissionControllerStress mark worker threads as daemons so that an exception in teardown() will not cause pytest to hang just after printing the test results. https://stackoverflow.com/questions/19219596/py-test-hangs-after-showing-test-results TESTING: Simulated the failure in IMPALA-10596 by throwing an exception during teardown(). Without this fix the pytest invocation hangs. Change-Id: I74cca8f577c7fbc4d394311e2f039cf4f68b08df --- M tests/custom_cluster/test_admission_controller.py 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/12/17212/1 -- To view, visit http://gerrit.cloudera.org:8080/17212 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I74cca8f577c7fbc4d394311e2f039cf4f68b08df Gerrit-Change-Number: 17212 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Sherman <asher...@cloudera.com>