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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user