Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 3.1.0
-
ghx-label-2
Description
Two tests fail because the default query options they set were clobbered by the custom cluster test infra:
*TestSetAndUnset.test_set_and_unset
*TestAdmissionController.test_set_request_pool
hs2/hs2_test_suite.py:48: in add_session fn(self) custom_cluster/test_set_and_unset.py:44: in test_set_and_unset assert "DEBUG_ACTION\tcustom\tDEVELOPMENT" in result.data, "baseline" E AssertionError: baseline E assert 'DEBUG_ACTION\tcustom\tDEVELOPMENT' in ['ABORT_ON_ERROR\t0\tREGULAR', 'ALLOW_ERASURE_CODED_FILES\t1\tDEVELOPMENT', 'APPX_COUNT_DISTINCT\t0\tADVANCED', 'BATCH_SIZE\t0\tDEVELOPMENT', 'BUFFER_POOL_LIMIT\t\tADVANCED', 'COMPRESSION_CODEC\t\tREGULAR', ...] E + where ['ABORT_ON_ERROR\t0\tREGULAR', 'ALLOW_ERASURE_CODED_FILES\t1\tDEVELOPMENT', 'APPX_COUNT_DISTINCT\t0\tADVANCED', 'BATCH_SIZE\t0\tDEVELOPMENT', 'BUFFER_POOL_LIMIT\t\tADVANCED', 'COMPRESSION_CODEC\t\tREGULAR', ...] = <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 0x4d9a6d0>.data hs2/hs2_test_suite.py:48: in add_session fn(self) custom_cluster/test_admission_controller.py:317: in test_set_request_pool ['MEM_LIMIT=200000000', 'REQUEST_POOL=root.queueB']) custom_cluster/test_admission_controller.py:224: in __check_query_options assert False, "Expected query options %s, got %s." % (expected, actual) E AssertionError: Expected query options MEM_LIMIT=200000000,REQUEST_POOL=root.queueB, got allow_erasure_coded_files=1,request_pool=root.queueb. E assert False