Commit a884776a authored by Steven Allen's avatar Steven Allen

testing: fix panic on failure

parent e3e71973
......@@ -309,7 +309,7 @@ func fetchAllConcurrent(b *testing.B, bs *bitswap.Bitswap, ks []cid.Cid) {
defer wg.Done()
_, err := ses.GetBlock(context.Background(), c)
if err != nil {
b.Fatal(err)
b.Error(err)
}
}(c)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment