Skip to content

Commit

Permalink
sleep longer in test
Browse files Browse the repository at this point in the history
  • Loading branch information
yusefnapora committed May 19, 2020
1 parent bd9e7b5 commit 82c11bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/host/basic/basic_host_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestSignedPeerRecordWithNoListenAddrs(t *testing.T) {

// we need to sleep for a moment, since the signed record with the new addr is
// added async
time.Sleep(time.Millisecond)
time.Sleep(20 * time.Millisecond)

cab, ok := peerstore.GetCertifiedAddrBook(h.Peerstore())
if !ok {
Expand Down

0 comments on commit 82c11bc

Please sign in to comment.