Skip to content

Commit

Permalink
Skip test_impala_ldap_connect_user_agent in case of DEFAULT_AUTH (#501)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
csringhofer authored Sep 27, 2022
1 parent 4d6a23e commit 60ab02a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impala/tests/test_dbapi_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 60ab02a

Please sign in to comment.