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 259c997c Set new failed bootstrap timeout to 30s for 
replace_address_test
259c997c is described below

commit 259c997c6684dac70cd26f69fd0cc393945570e9
Author: Brandon Williams <brandonwilli...@apache.org>
AuthorDate: Thu May 23 12:48:42 2024 -0500

    Set new failed bootstrap timeout to 30s for replace_address_test
    
    Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-19658
---
 replace_address_test.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/replace_address_test.py b/replace_address_test.py
index 36625e73..751f0b3f 100644
--- a/replace_address_test.py
+++ b/replace_address_test.py
@@ -69,8 +69,11 @@ class BaseReplaceAddressTest(Tester):
             self.cluster.set_install_dir(version="2.2.4")
             self.install_nodetool_legacy_parsing()
 
+        jvm_args = []
+        if self.cluster.cassandra_version() >= '4.0':
+            jvm_args.append("-Dcassandra.failed_bootstrap_timeout_ms=30000")
 
-        self.cluster.start()
+        self.cluster.start(jvm_args=jvm_args)
 
         if self.cluster.cassandra_version() >= '2.2.0':
             session = self.patient_cql_connection(self.query_node)


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

Reply via email to