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

jlewandowski pushed a commit to branch ds-trunk-5.0--2024-07-24
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git

commit 097ebfc1a6a07a90c7301bb0c94c24e51399730d
Author: Brandon Williams <[email protected]>
AuthorDate: Tue Jul 23 15:35:52 2024 -0500

    CC5 fix secondary_indexes_test::TestPreJoinCallback tests
---
 secondary_indexes_test.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/secondary_indexes_test.py b/secondary_indexes_test.py
index 1e14d636..2dc34881 100644
--- a/secondary_indexes_test.py
+++ b/secondary_indexes_test.py
@@ -1224,7 +1224,7 @@ class TestPreJoinCallback(Tester):
             node2 = new_node(cluster)
             node2.set_configuration_options(values={'initial_token': token})
             node2.start(wait_for_binary_proto=True)
-            assert node2.grep_log('Executing pre-join post-bootstrap tasks')
+            assert node2.grep_log('Executing pre-join post-bootstrap tasks', 
filename='debug.log')
 
         self._base_test(bootstrap)
 
@@ -1255,7 +1255,7 @@ class TestPreJoinCallback(Tester):
             node2.nodetool(BootstrapTester.nodetool_resume_command(cluster))
             node2.watch_log_for('Starting listening for CQL clients')
             assert_bootstrap_state(self, node2, 'COMPLETED')
-            assert node2.grep_log('Executing pre-join post-bootstrap tasks')
+            assert node2.grep_log('Executing pre-join post-bootstrap tasks', 
filename='debug.log')
 
         self._base_test(resume)
 
@@ -1265,10 +1265,10 @@ class TestPreJoinCallback(Tester):
             node2.set_configuration_options(values={'initial_token': token})
             node2.start(join_ring=False, wait_for_binary_proto=True, 
wait_other_notice=240)
             assert node2.grep_log('Not joining ring as requested')
-            assert not node2.grep_log('Executing pre-join')
+            assert not node2.grep_log('Executing pre-join', 
filename='debug.log')
 
             node2.nodetool("join")
-            assert node2.grep_log('Executing pre-join post-bootstrap tasks')
+            assert node2.grep_log('Executing pre-join post-bootstrap tasks', 
filename='debug.log')
 
         self._base_test(manual_join)
 
@@ -1278,10 +1278,10 @@ class TestPreJoinCallback(Tester):
             node2.set_configuration_options(values={'initial_token': token})
             node2.start(jvm_args=["-Dcassandra.write_survey=true"], 
wait_for_binary_proto=True)
             assert node2.grep_log('Startup complete, but write survey mode is 
active, not becoming an active ring member.')
-            assert not node2.grep_log('Executing pre-join')
+            assert not node2.grep_log('Executing pre-join', 
filename='debug.log')
 
             node2.nodetool("join")
             assert node2.grep_log('Leaving write survey mode and joining ring 
at operator request')
-            assert node2.grep_log('Executing pre-join post-bootstrap tasks')
+            assert node2.grep_log('Executing pre-join post-bootstrap tasks', 
filename='debug.log')
 
         self._base_test(write_survey_and_join)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to