瀏覽代碼

Merge pull request #7592 from heyitsanthony/proxy-cov

test: add proxy to coverage tests
Anthony Romano 8 年之前
父節點
當前提交
f763048156
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      test

+ 4 - 0
test

@@ -117,6 +117,10 @@ function cov_pass {
 		go test -covermode=set -coverpkg $PKGS_COMMA -timeout 15m -run=Test -v -coverprofile "$COVERDIR/${tf}.coverprofile"  ${REPO_PATH}/$t
 	done
 
+	# proxy tests
+	go test -tags cluster_proxy -covermode=set -coverpkg $PKGS_COMMA -timeout 15m -v -coverprofile "$COVERDIR/proxy_integration.coverprofile" ${REPO_PATH}/integration
+	go test -tags cluster_proxy -covermode=set -coverpkg $PKGS_COMMA -timeout 15m -v -coverprofile "$COVERDIR/proxy_clientv3.coverprofile" ${REPO_PATH}/clientv3/integration
+
 	# run code coverage for e2e tests
 	# use 30m timeout because e2e coverage takes longer
 	# due to many tests cause etcd process to wait