Sfoglia il codice sorgente

Missed the cover flag.

Phillip Couto 11 anni fa
parent
commit
51b6ab33e1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      integration.sh

+ 2 - 2
integration.sh

@@ -20,8 +20,8 @@ function run_tests() {
 		proto=1
 		proto=1
 	fi
 	fi
 
 
-	go test -v -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize -autowait=2000ms ./... > results
-	
+	go test -cover -v -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize -autowait=2000ms ./... > results
+
 	cat results
 	cat results
 	cover=`cat results | grep coverage: | grep -o "[0-9]\{1,3\}" | head -n 1`
 	cover=`cat results | grep coverage: | grep -o "[0-9]\{1,3\}" | head -n 1`
 	if [[ $cover -lt "68" ]]; then
 	if [[ $cover -lt "68" ]]; then