Mmuzaf commented on code in PR #2046:
URL: https://github.com/apache/cassandra/pull/2046#discussion_r1058515081


##########
test/distributed/org/apache/cassandra/distributed/shared/ClusterUtils.java:
##########
@@ -255,13 +258,13 @@ public static <I extends IInstance> I 
replaceHostAndStart(AbstractCluster<I> clu
 
         return start(inst, properties -> {
             // lower this so the replacement waits less time
-            properties.setProperty("cassandra.broadcast_interval_ms", 
Long.toString(TimeUnit.SECONDS.toMillis(30)));
+            properties.set(BROADCAST_INTERVAL_MS, 
Long.toString(TimeUnit.SECONDS.toMillis(30)));
             // default is 30s, lowering as it should be faster
-            properties.setProperty("cassandra.ring_delay_ms", 
Long.toString(TimeUnit.SECONDS.toMillis(10)));
+            properties.set(RING_DELAY, 
Long.toString(TimeUnit.SECONDS.toMillis(10)));
             properties.set(BOOTSTRAP_SCHEMA_DELAY_MS, 
TimeUnit.SECONDS.toMillis(10));
 
             // state which node to replace
-            properties.setProperty("cassandra.replace_address_first_boot", 
toReplace.config().broadcastAddress().getAddress().getHostAddress());
+            
REPLACE_ADDRESS_FIRST_BOOT.setString(toReplace.config().broadcastAddress().getAddress().getHostAddress());

Review Comment:
   Fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to