deflake identify test
This was probably failing (rarely) due to the fact that we're shrinking the timeout asynchronously (I think?).
This commit is contained in:
parent
da772d14b4
commit
00ba6a165a
|
@ -88,7 +88,7 @@ func subtestIDService(t *testing.T) {
|
||||||
// Forget the first one.
|
// Forget the first one.
|
||||||
testKnowsAddrs(t, h2, h1p, addrs[:len(addrs)-1])
|
testKnowsAddrs(t, h2, h1p, addrs[:len(addrs)-1])
|
||||||
|
|
||||||
time.Sleep(500 * time.Millisecond)
|
time.Sleep(1 * time.Second)
|
||||||
|
|
||||||
// Forget the rest.
|
// Forget the rest.
|
||||||
testKnowsAddrs(t, h1, h2p, []ma.Multiaddr{})
|
testKnowsAddrs(t, h1, h2p, []ma.Multiaddr{})
|
||||||
|
|
Loading…
Reference in New Issue