Skip to content

Commit

Permalink
[CI] Add go test flag '-v' for more clearly CI log (#871)
Browse files Browse the repository at this point in the history
### 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`
  • Loading branch information
Gleiphir2769 authored Oct 24, 2022
1 parent 60856f2 commit bea85d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bea85d4

Please sign in to comment.