瀏覽代碼

test proto 3 in 2.1.x

Chris Bannister 10 年之前
父節點
當前提交
1db3147167
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      integration.sh

+ 2 - 0
integration.sh

@@ -19,6 +19,8 @@ function run_tests() {
 	local proto=2
 	local proto=2
 	if [[ $version == 1.2.* ]]; then
 	if [[ $version == 1.2.* ]]; then
 		proto=1
 		proto=1
+	elif [[ $version == 2.1.* ]]; then
+		proto=3
 	fi
 	fi
 
 
 	go test -timeout 5m -tags integration -cover -v -runssl -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize -autowait=2000ms ./... | tee results.txt
 	go test -timeout 5m -tags integration -cover -v -runssl -proto=$proto -rf=3 -cluster=$(ccm liveset) -clusterSize=$clusterSize -autowait=2000ms ./... | tee results.txt