From 15f4f1f138f140ede33db051b7a69b8183155a42 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 30 Jul 2020 14:01:39 +0300 Subject: [PATCH] fix flaky test 10ms is _not_ sufficient for travis --- floodsub_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/floodsub_test.go b/floodsub_test.go index cc15ead..952855f 100644 --- a/floodsub_test.go +++ b/floodsub_test.go @@ -610,7 +610,7 @@ func TestPeerTopicReporting(t *testing.T) { t.Fatal(err) } - time.Sleep(time.Millisecond * 10) + time.Sleep(time.Millisecond * 200) peers := psubs[0].ListPeers("ipfs") assertPeerList(t, peers, hosts[2].ID(), hosts[3].ID())