From ab1cf751a33f71b24ecf7d5d5acc64e3dbb76813 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Thu, 23 Mar 2017 18:27:09 -0700 Subject: [PATCH] test: add proxy to coverage tests --- test | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test b/test index 6f0fae918..682dbb063 100755 --- a/test +++ b/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