Преглед на файлове

Update ccm and test run args

Chris Bannister преди 11 години
родител
ревизия
c9f797ecef
променени са 1 файла, в които са добавени 5 реда и са изтрити 6 реда
  1. 5 6
      integration.sh

+ 5 - 6
integration.sh

@@ -4,18 +4,17 @@ set -e
 
 function run_tests() {
 	local version=$1
-	ccm create test -v $version -n 3 -s --debug
+	ccm create test -v $version -n 3 -s -d --vnodes
 
 	ccm status
 
+	local proto=2
 	if [[ $version == 1.2.* ]]; then
-		echo "running protocol 1 test suite"
-		go test -v ./... -proto 1
-	else
-		echo "running protocol 2 test suite"
-		go test -v ./...
+		proto=1
 	fi
 
+	go test -v -proto=$proto -rf=3 -cluster=$(ccm liveset) ./...
+
 	ccm clear
 }