mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-02 12:53:09 +00:00
longer sleep in test so race becomes less likely
This commit is contained in:
parent
ae48a15d7b
commit
539e4b6b45
@ -487,7 +487,8 @@ func TestPeerTopicReporting(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
time.Sleep(time.Millisecond * 1)
|
||||
time.Sleep(time.Millisecond * 10)
|
||||
|
||||
peers := psubs[0].ListPeers("ipfs")
|
||||
assertPeerList(t, peers, hosts[2].ID(), hosts[3].ID())
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user