Browse Source

deflake identify test

This was probably failing (rarely) due to the fact that we're shrinking the
timeout asynchronously (I think?).
pull/479/head
Steven Allen 6 years ago
parent
commit
00ba6a165a
  1. 2
      p2p/protocol/identify/id_test.go

2
p2p/protocol/identify/id_test.go

@ -88,7 +88,7 @@ func subtestIDService(t *testing.T) {
// Forget the first one.
testKnowsAddrs(t, h2, h1p, addrs[:len(addrs)-1])
time.Sleep(500 * time.Millisecond)
time.Sleep(1 * time.Second)
// Forget the rest.
testKnowsAddrs(t, h1, h2p, []ma.Multiaddr{})

Loading…
Cancel
Save