Add top flag to tparse (#1205)

This commit is contained in:
Egon Elbre 2019-02-01 16:35:13 +02:00 committed by GitHub
parent 5a0306ce0c
commit 00570df1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ matrix:
- go install -race ./...
script:
- go run scripts/use-ports.go -from 1024 -to 10000 &
- go test -race -cover -coverprofile=.coverprofile -json -timeout 9m ./... | tparse -all
- go test -race -cover -coverprofile=.coverprofile -json -timeout 9m ./... | tparse -all -top
- goveralls -coverprofile=.coverprofile -service=travis-ci
- rm .coverprofile
- go run scripts/check-clean-directory.go

View File

@ -50,7 +50,7 @@ func TestMergePlanets(t *testing.T) {
alpha.Start(ctx)
beta.Start(ctx)
time.Sleep(4 * time.Second)
time.Sleep(10 * time.Second)
test := func(tag string, satellites []*satellite.Peer, storageNodes []*storagenode.Peer) string {
found, missing := 0, 0