|
|
@@ -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
|