From 00570df1f9ec8a68715334d6e50453feb9232aaf Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Fri, 1 Feb 2019 16:35:13 +0200 Subject: [PATCH] Add top flag to tparse (#1205) --- .travis.yml | 2 +- pkg/kademlia/merge_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ed5b94aa7..255a6a243 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/pkg/kademlia/merge_test.go b/pkg/kademlia/merge_test.go index cc8e587ca..9472f60c9 100644 --- a/pkg/kademlia/merge_test.go +++ b/pkg/kademlia/merge_test.go @@ -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