This is an automated email from the ASF dual-hosted git repository. stigahuang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit caf136fae4951a6eb5216f897d18d313f94ddd83 Author: Michael Smith <[email protected]> AuthorDate: Fri Mar 15 13:59:53 2024 -0700 IMPALA-12914: TestBannedLogMessages no longer requires running cluster Updates test_banned_log_messages.py to no longer require a running cluster, as it only checks files on disk. This fixes running custom cluster tests that end with shutting down the cluster via run-all-tests.sh. Tested locally with FE_TEST=false BE_TEST=false EE_TEST=false JDBC_TEST=false\ JS_TEST=false CLUSTER_TEST_FILES=custom_cluster/test_coordinators.py\ ::TestCoordinators::test_exclusive_coordinator_plan run-all-tests.sh Change-Id: Icfa7d5925bf724d714eaa7fa606defae0822cf93 Reviewed-on: http://gerrit.cloudera.org:8080/21152 Reviewed-by: Riza Suminto <[email protected]> Tested-by: Michael Smith <[email protected]> --- tests/verifiers/test_banned_log_messages.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/verifiers/test_banned_log_messages.py b/tests/verifiers/test_banned_log_messages.py index 1f4d52162..6a5cf483b 100644 --- a/tests/verifiers/test_banned_log_messages.py +++ b/tests/verifiers/test_banned_log_messages.py @@ -21,10 +21,8 @@ from __future__ import absolute_import, division, print_function import os import subprocess -from tests.common.impala_test_suite import ImpalaTestSuite - -class TestBannedLogMessages(ImpalaTestSuite): +class TestBannedLogMessages: """Verify that specific log messages are banned from Impala logs. This test suite should be run after all the tests have been run.
