From bc9f5edcb85e148f4e5578cd31bdde66e9cc7099 Mon Sep 17 00:00:00 2001 From: Ferenc Szabo Date: Mon, 18 Feb 2019 14:28:13 +0100 Subject: [PATCH] swarm/storage: increase mget timeout in common_test.go TestDbStoreCorrect_1k sometimes timed out with -race on Travis. --- FAIL: TestDbStoreCorrect_1k (24.63s) common_test.go:194: testStore failed: timed out after 10s --- swarm/storage/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/storage/common_test.go b/swarm/storage/common_test.go index 6955ee8279..e74d0f4b84 100644 --- a/swarm/storage/common_test.go +++ b/swarm/storage/common_test.go @@ -142,7 +142,7 @@ func mget(store ChunkStore, hs []Address, f func(h Address, chunk Chunk) error) close(errc) }() var err error - timeout := 10 * time.Second + timeout := 20 * time.Second select { case err = <-errc: case <-time.NewTimer(timeout).C: