You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by bl...@apache.org on 2020/04/24 09:46:15 UTC

[cassandra-dtest] branch master updated: Ignore EOF error log for repair_test.py::TestRepair::test_dead_sync_participant

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

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


The following commit(s) were added to refs/heads/master by this push:
     new fdc800c  Ignore EOF error log for repair_test.py::TestRepair::test_dead_sync_participant
fdc800c is described below

commit fdc800cc716b465a335b10230481866cf598110a
Author: Zhao Yang <zh...@gmail.com>
AuthorDate: Mon Apr 13 00:44:28 2020 +0800

    Ignore EOF error log for repair_test.py::TestRepair::test_dead_sync_participant
    
    patch by ZhaoYang; reviewed by Sergio Bossa and Benjamin Lerer for
    CASSANDRA-15666
---
 repair_tests/repair_test.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/repair_tests/repair_test.py b/repair_tests/repair_test.py
index b28ec49..83eed8d 100644
--- a/repair_tests/repair_test.py
+++ b/repair_tests/repair_test.py
@@ -1171,6 +1171,12 @@ class TestRepair(BaseRepairTest):
             "failed to send a stream message/data to peer"
         ]
 
+        # stream session will be closed upon EOF, see CASSANDRA-15666
+        if cluster.version() >= '4.0':
+            self.ignore_log_patterns.append("Socket closed before session completion")
+            self.ignore_log_patterns.append("is finished with state FAILED")
+            self.ignore_log_patterns.append("stream has been closed")
+
         # Disable hinted handoff and set batch commit log so this doesn't
         # interfere with the test (this must be after the populate)
         cluster.set_configuration_options(values={'hinted_handoff_enabled': False})


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