Quellcode durchsuchen

testing: increase local run reliability further (#1358)

Local stability increased by clearing the database before running
integration tests and using ccm --wait-for-binary-proto to finish.
Henrik Johansson vor 6 Jahren
Ursprung
Commit
93ce931da9
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      integration.sh

+ 6 - 1
integration.sh

@@ -75,10 +75,15 @@ function run_tests() {
 	else
 		sleep 1s
 		go test -tags "cassandra gocql_debug" -timeout=5m -race $args
+
+		ccm clear
+		ccm start --wait-for-binary-proto
+		sleep 1s
+
 		go test -tags "integration gocql_debug" -timeout=5m -race $args
 
 		ccm clear
-		ccm start
+		ccm start --wait-for-binary-proto
 		sleep 1s
 
 		go test -tags "ccm gocql_debug" -timeout=5m -race $args