From 539e4b6b45370be4ce2f7ba5ad42db149f961fac Mon Sep 17 00:00:00 2001 From: Jan Winkelmann Date: Sun, 13 Nov 2016 01:31:02 +0100 Subject: [PATCH] longer sleep in test so race becomes less likely --- floodsub_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/floodsub_test.go b/floodsub_test.go index 83c114c..6ab4690 100644 --- a/floodsub_test.go +++ b/floodsub_test.go @@ -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())