Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21475
Change subject: IMPALA-13124: Migrate tests that use 'unittest' package to pytest base class ...................................................................... IMPALA-13124: Migrate tests that use 'unittest' package to pytest base class Some tests were written to use the builtin 'unittest' package. In testing on Python 3, these tests failed with an error like "RuntimeError: generator raised StopIteration". Since Impala tests are standardized on pytests, this converts those locations to use our regular pytest base classes. This required restructing the test_redaction.py custom cluster test to use the pytest setup and teardown methods. It also simplifies the test cases so that each attempted startup gets its own test rather than doing multiple startup attempts in a single test. Testing: - Ran exhaustive job Change-Id: I89e854f64e424a75827929a4f6841066024390e9 --- M tests/custom_cluster/test_redaction.py M tests/shell/test_cookie_util.py M tests/shell/test_kerberos_util.py 3 files changed, 38 insertions(+), 47 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/21475/1 -- To view, visit http://gerrit.cloudera.org:8080/21475 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I89e854f64e424a75827929a4f6841066024390e9 Gerrit-Change-Number: 21475 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]>
