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