[
https://issues.apache.org/jira/browse/IMPALA-14369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Fehr updated IMPALA-14369:
--------------------------------
Description:
Custom cluster tests have the ability to use a single cluster across multiple
tests. When this happens, the self.client configuration is not reset between
tests.
The issue is the Impala client configuration is reset in the setup_method of
the CustomClusterTestSuite class (which eventually calls the
ImpalaTestSuite#setup_class method to recreate all clients). However, this
code path does not happen when using a cluster shared between tests because
self.SHARED_CLUSTER_ARGS is not None.
https://github.com/apache/impala/blob/843de44788758ab00694bc456e0d92608a8a4c60/tests/common/custom_cluster_test_suite.py#L392-L396
was:
Custom cluster tests have the ability to use a single cluster across multiple
tests. When this happens, the self.client configuration is not reset between
tests.
The issue is the Impala client configuration is reset in the setup_method of
the CustomClusterTestSuite class (which eventually calls the
ImpalaTestSuite#setup_class method). However, this code path does not happen
when using a cluster shared between tests because self.SHARED_CLUSTER_ARGS is
not None.
https://github.com/apache/impala/blob/843de44788758ab00694bc456e0d92608a8a4c60/tests/common/custom_cluster_test_suite.py#L392-L396
> Client Configuration Not Reset Between CustomCluserTests When Using Shared
> Cluster
> ----------------------------------------------------------------------------------
>
> Key: IMPALA-14369
> URL: https://issues.apache.org/jira/browse/IMPALA-14369
> Project: IMPALA
> Issue Type: Bug
> Reporter: Jason Fehr
> Priority: Major
>
> Custom cluster tests have the ability to use a single cluster across multiple
> tests. When this happens, the self.client configuration is not reset between
> tests.
> The issue is the Impala client configuration is reset in the setup_method of
> the CustomClusterTestSuite class (which eventually calls the
> ImpalaTestSuite#setup_class method to recreate all clients). However, this
> code path does not happen when using a cluster shared between tests because
> self.SHARED_CLUSTER_ARGS is not None.
> https://github.com/apache/impala/blob/843de44788758ab00694bc456e0d92608a8a4c60/tests/common/custom_cluster_test_suite.py#L392-L396
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]