Repository: cassandra-dtest
Updated Branches:
  refs/heads/master 459943a35 -> 61cbd5cdc


Restore <4.0 compatibility for digest mismatch log message matching


Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/61cbd5cd
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/61cbd5cd
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/61cbd5cd

Branch: refs/heads/master
Commit: 61cbd5cdcb435503bcb828249cce60ca779995e0
Parents: 459943a
Author: Stefan Podkowinski <stefan.podkowin...@1und1.de>
Authored: Thu Aug 10 09:02:24 2017 +0200
Committer: Stefan Podkowinski <stefan.podkowin...@1und1.de>
Committed: Thu Aug 10 09:02:24 2017 +0200

----------------------------------------------------------------------
 materialized_views_test.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/61cbd5cd/materialized_views_test.py
----------------------------------------------------------------------
diff --git a/materialized_views_test.py b/materialized_views_test.py
index 79679ca..574d90f 100644
--- a/materialized_views_test.py
+++ b/materialized_views_test.py
@@ -1063,8 +1063,9 @@ class TestMaterializedViews(Tester):
         # execution happening
 
         # Look for messages like:
-        #         Digest mismatch: Mismatch for key DecoratedKey
-        regex = r"Digest mismatch: Mismatch for key DecoratedKey"
+        #  4.0+        Digest mismatch: Mismatch for key DecoratedKey
+        # <4.0         Digest mismatch: 
org.apache.cassandra.service.DigestMismatchException: Mismatch for key 
DecoratedKey
+        regex = r"Digest mismatch: ([a-zA-Z.]+:\s)?Mismatch for key 
DecoratedKey"
         for event in trace.events:
             desc = event.description
             match = re.match(regex, desc)


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

Reply via email to