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

brandonwilliams 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 27fb3c52 add sleep before checking log in test_stop_failure_policy
27fb3c52 is described below

commit 27fb3c52688d6cebf1b1427753e14177f57d8565
Author: Brandon Williams <brandonwilli...@apache.org>
AuthorDate: Thu Jun 20 10:54:36 2024 -0500

    add sleep before checking log in test_stop_failure_policy
    
    Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-19100
---
 commitlog_test.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/commitlog_test.py b/commitlog_test.py
index 106ae1d2..54f21719 100644
--- a/commitlog_test.py
+++ b/commitlog_test.py
@@ -320,6 +320,7 @@ class TestCommitLog(Tester):
         self.prepare()
 
         self._provoke_commitlog_failure()
+        time.sleep(2)
         failure = self.node1.grep_log("Failed .+ commit log segments. Commit 
disk failure policy is stop; terminating thread")
         logger.debug(failure)
         assert failure, "Cannot find the commitlog failure message in logs"


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

Reply via email to