Przeglądaj źródła

Add "cassandra.ring_delay_ms" to "cassandra-basics" test for 4.0+

This is a new feature in 4.0 that delays the startup for 30 seconds (by default; https://github.com/apache/cassandra/blob/5e8f7f591dfec5a61d8eb2e9e977ec29f3a2bbe4/src/java/org/apache/cassandra/service/StorageService.java#L150-L162).
Tianon Gravi 4 lat temu
rodzic
commit
0b3e99e378
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      test/tests/cassandra-basics/run.sh

+ 2 - 1
test/tests/cassandra-basics/run.sh

@@ -17,9 +17,10 @@ cid="$(
 		-e MAX_HEAP_SIZE='128m' \
 		-e MAX_HEAP_SIZE='128m' \
 		-e HEAP_NEWSIZE='32m' \
 		-e HEAP_NEWSIZE='32m' \
 		-e JVM_OPTS='
 		-e JVM_OPTS='
+			-Dcassandra.ring_delay_ms=0
+			-Dcom.sun.management.jmxremote.authenticate=false
 			-Dcom.sun.management.jmxremote.port=7199
 			-Dcom.sun.management.jmxremote.port=7199
 			-Dcom.sun.management.jmxremote.ssl=false
 			-Dcom.sun.management.jmxremote.ssl=false
-			-Dcom.sun.management.jmxremote.authenticate=false
 		' \
 		' \
 		"$image"
 		"$image"
 )"
 )"