Browse Source

sleep longer in test

pull/941/head
Yusef Napora 5 years ago
parent
commit
82c11bce2a
  1. 2
      p2p/host/basic/basic_host_test.go

2
p2p/host/basic/basic_host_test.go

@ -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 {

Loading…
Cancel
Save