|
|
@@ -24,7 +24,7 @@ function run_tests() {
|
|
|
proto=1
|
|
|
fi
|
|
|
|
|
|
- go test -tags integration -cover -v -runssl -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize -autowait=2000ms ./... | tee results.txt
|
|
|
+ go test -timeout 3m -tags integration -cover -v -runssl -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize -autowait=2000ms ./... | tee results.txt
|
|
|
|
|
|
cover=`cat results.txt | grep coverage: | grep -o "[0-9]\{1,3\}" | head -n 1`
|
|
|
if [[ $cover -lt "60" ]]; then
|