You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sa...@apache.org on 2020/11/30 18:23:10 UTC

[cassandra-dtest] branch trunk updated: Change expected response when role data is corrupt

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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 192b706  Change expected response when role data is corrupt
192b706 is described below

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

    Change expected response when role data is corrupt
    
    Patch by Sam Tunnicliffe; reviewed by Adam Holmberg for CASSANDRA-16275
---
 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org