mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-07 23:33:08 +00:00
increase delay for TestPeerDisconnect
10ms don't seem to be enough for travis
This commit is contained in:
parent
8d89949131
commit
96066d320f
@ -688,7 +688,7 @@ func TestPeerDisconnect(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
time.Sleep(time.Millisecond * 10)
|
||||
time.Sleep(time.Millisecond * 300)
|
||||
|
||||
peers := psubs[0].ListPeers("foo")
|
||||
assertPeerList(t, peers, hosts[1].ID())
|
||||
@ -696,7 +696,7 @@ func TestPeerDisconnect(t *testing.T) {
|
||||
c.Close()
|
||||
}
|
||||
|
||||
time.Sleep(time.Millisecond * 100)
|
||||
time.Sleep(time.Millisecond * 300)
|
||||
|
||||
peers = psubs[0].ListPeers("foo")
|
||||
assertPeerList(t, peers)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user