longer sleep in test so race becomes less likely

This commit is contained in:
Jan Winkelmann 2016-11-13 01:31:02 +01:00
parent ae48a15d7b
commit 539e4b6b45

View File

@ -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())