From 60ab02a2cd49bc1642e839a37315caace3507eb8 Mon Sep 17 00:00:00 2001 From: csringhofer Date: Tue, 27 Sep 2022 15:38:55 +0200 Subject: [PATCH] Skip test_impala_ldap_connect_user_agent in case of DEFAULT_AUTH (#501) The test above was added in #498 and does not work with a default Impala cluster. This is a test only change to make tests greens when using default authentication (=no authentication). --- impala/tests/test_dbapi_connect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/impala/tests/test_dbapi_connect.py b/impala/tests/test_dbapi_connect.py index ce60b271e..dd4578dc7 100644 --- a/impala/tests/test_dbapi_connect.py +++ b/impala/tests/test_dbapi_connect.py @@ -114,6 +114,7 @@ def test_impala_plain_connect(self): password="cloudera") self._execute_queries(self.connection) + @pytest.mark.skipif(DEFAULT_AUTH, reason=DEFAULT_AUTH_ERROR) def test_impala_ldap_connect_user_agent(self): self.connection = connect(ENV.host, ENV.port, auth_mechanism="LDAP", timeout=5,