1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 14:34:24 +08:00

query: fix race condition: redux

this time just move to goprocess
This commit is contained in:
Juan Batiz-Benet
2015-03-07 03:20:29 -08:00
parent 7a03d677ff
commit c2bbca0596
2 changed files with 42 additions and 38 deletions

View File

@ -52,7 +52,7 @@ func TestGetFailures(t *testing.T) {
err = merr[0]
}
if err != context.DeadlineExceeded {
if err != context.DeadlineExceeded && err != context.Canceled {
t.Fatal("Got different error than we expected", err)
}
} else {