You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/05/15 20:17:26 UTC

[pulsar-client-go] 01/01: Run tests on all the subdirectories

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch merlimat-patch-2
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git

commit d6d03f4626c35407ead4d9dcda3eb97d4da3dd15
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Wed May 15 13:17:21 2019 -0700

    Run tests on all the subdirectories
---
 run-ci.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-ci.sh b/run-ci.sh
index 1b863fe..b593da5 100755
--- a/run-ci.sh
+++ b/run-ci.sh
@@ -32,7 +32,7 @@ go build -o pulsar-perf ./perf
 ./pulsar-test-service-start.sh
 
 # Run tests on the directories that contains any '*_test.go' file
-DIRS=`find ./pulsar -name '*_test.go' | xargs -n1 dirname | sort | uniq`
+DIRS=`find . -name '*_test.go' | xargs -n1 dirname | sort | uniq`
 go test -coverprofile=/tmp/coverage ${DIRS}
 go tool cover -html=/tmp/coverage -o coverage.html