This is an automated email from the ASF dual-hosted git repository.

samt pushed a commit to branch 16275
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git

commit e3c4f695abccb3ac37bf8c08d2fa304029372b50
Author: Sam Tunnicliffe <s...@beobal.com>
AuthorDate: Fri Nov 13 17:36:22 2020 +0000

    Change expected response when role data is corrupt
---
 auth_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auth_test.py b/auth_test.py
index 1061b17..6d92ff5 100644
--- a/auth_test.py
+++ b/auth_test.py
@@ -216,7 +216,7 @@ class TestAuth(Tester):
 
         self.fixture_dtest_setup.ignore_log_patterns = 
list(self.fixture_dtest_setup.ignore_log_patterns) + [
             r'Invalid metadata has been detected for role bob']
-        assert_exception(session, "LIST USERS", "Invalid metadata has been 
detected for role", expected=(ServerError))
+        assert_exception(session, "LIST USERS", "Invalid metadata has been 
detected for role", expected=(NoHostAvailable))
         try:
             self.get_session(user='bob', password='12345')
         except NoHostAvailable as e:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to