Browse Source

Missed the cover flag.

Phillip Couto 11 năm trước cách đây
mục cha
commit
51b6ab33e1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      integration.sh

+ 2 - 2
integration.sh

@@ -20,8 +20,8 @@ function run_tests() {
 		proto=1
 	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
 	cover=`cat results | grep coverage: | grep -o "[0-9]\{1,3\}" | head -n 1`
 	if [[ $cover -lt "68" ]]; then