Skip to content

Commit e8af19b

Browse files
fix: optimistic provide test
1 parent 6b9ee76 commit e8af19b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/cli/dht_opt_prov_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func TestDHTOptimisticProvide(t *testing.T) {
2323

2424
hash := nodes[0].IPFSAddStr(string(random.Bytes(100)))
2525
nodes[0].IPFS("routing", "provide", hash)
26+
waitUntilProvidesComplete(t, nodes[0])
2627

2728
res := nodes[1].IPFS("routing", "findprovs", "--num-providers=1", hash)
2829
assert.Equal(t, nodes[0].PeerID().String(), res.Stdout.Trimmed())

0 commit comments

Comments
 (0)