You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ma...@apache.org on 2022/05/10 13:37:18 UTC

[cassandra-dtest] branch trunk updated: Ignore error from non-related keyspaces to fix repair_tests/repair_test.py::TestRepair::test_non_replicated_ks_repair

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

marcuse 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 e76008d0 Ignore error from non-related keyspaces to fix repair_tests/repair_test.py::TestRepair::test_non_replicated_ks_repair
e76008d0 is described below

commit e76008d0a71bce385210e7cdf820c9b6459b8c80
Author: Marcus Eriksson <ma...@apple.com>
AuthorDate: Mon May 9 17:48:40 2022 +0200

    Ignore error from non-related keyspaces to fix repair_tests/repair_test.py::TestRepair::test_non_replicated_ks_repair
    
    Patch by marcuse; reviewed by Berenguer Blasi for CASSANDRA-17614
---
 repair_tests/repair_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/repair_tests/repair_test.py b/repair_tests/repair_test.py
index af536a76..29f46e90 100644
--- a/repair_tests/repair_test.py
+++ b/repair_tests/repair_test.py
@@ -977,7 +977,7 @@ class TestRepair(BaseRepairTest):
         assert len(node.grep_log("in repair1 - unreplicated keyspace is ignored since repair was called with --ignore-unreplicated-keyspaces")) > 0
 
         try:
-            self.fixture_dtest_setup.ignore_log_patterns.append("Nothing to repair for .+ in repair1")
+            self.fixture_dtest_setup.ignore_log_patterns.append("Nothing to repair for .+ in .+")
             node.nodetool("repair -st 0 -et 1")
             assert False, "repair should fail"
         except ToolError:


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