mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-07 15:23:08 +00:00
fix flaky test
10ms is _not_ sufficient for travis
This commit is contained in:
parent
5fd694af20
commit
15f4f1f138
@ -610,7 +610,7 @@ func TestPeerTopicReporting(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
time.Sleep(time.Millisecond * 10)
|
time.Sleep(time.Millisecond * 200)
|
||||||
|
|
||||||
peers := psubs[0].ListPeers("ipfs")
|
peers := psubs[0].ListPeers("ipfs")
|
||||||
assertPeerList(t, peers, hosts[2].ID(), hosts[3].ID())
|
assertPeerList(t, peers, hosts[2].ID(), hosts[3].ID())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user