You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zi...@apache.org on 2022/10/24 13:33:00 UTC
[pulsar-client-go] branch master updated: [CI] Add go test flag '-v' for more clearly CI log (#871)
This is an automated email from the ASF dual-hosted git repository.
zike pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git
The following commit(s) were added to refs/heads/master by this push:
new bea85d4 [CI] Add go test flag '-v' for more clearly CI log (#871)
bea85d4 is described below
commit bea85d44eb4d55e9d0cec68219c219ac9fa349f1
Author: Jiaqi Shen <18...@163.com>
AuthorDate: Mon Oct 24 21:32:53 2022 +0800
[CI] Add go test flag '-v' for more clearly CI log (#871)
### Motivation
Currently, the CI of pulsar-go-client is more and more prone to fail due to timeout. It's hard to find out which test case failed based on CI log now.
Add go test flag '-v' will make the CI log more clearly to locate which test failed or timeout.
### Modifications
Add go test flag '-v' in `run-ci.sh`
---
scripts/run-ci.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/run-ci.sh b/scripts/run-ci.sh
index e9d768b..8eebdec 100755
--- a/scripts/run-ci.sh
+++ b/scripts/run-ci.sh
@@ -31,7 +31,7 @@ go build -o bin/pulsar-perf ./perf
scripts/pulsar-test-service-start.sh
-go test -race -coverprofile=/tmp/coverage -timeout=20m ./...
+go test -race -coverprofile=/tmp/coverage -timeout=20m -v ./...
go tool cover -html=/tmp/coverage -o coverage.html
scripts/pulsar-test-service-stop.sh