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
This commit is contained in:
Ferenc Szabo 2019-02-18 14:28:13 +01:00
parent f1537b774c
commit bc9f5edcb8

View file

@ -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: