From 49033ec0821fc506762fe7deca804a85a6ed318a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 15 Aug 2018 14:38:09 +0200 Subject: [PATCH] coreapi: dht: make tests less falky MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit License: MIT Signed-off-by: Ɓukasz Magiera --- core/coreapi/dht_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/coreapi/dht_test.go b/core/coreapi/dht_test.go index dfcffafdf26..e9404ef17f1 100644 --- a/core/coreapi/dht_test.go +++ b/core/coreapi/dht_test.go @@ -15,7 +15,7 @@ import ( func TestDhtFindPeer(t *testing.T) { ctx := context.Background() - nds, apis, err := makeAPISwarm(ctx, true, 3) + nds, apis, err := makeAPISwarm(ctx, true, 5) if err != nil { t.Fatal(err) } @@ -41,7 +41,7 @@ func TestDhtFindPeer(t *testing.T) { func TestDhtFindProviders(t *testing.T) { ctx := context.Background() - nds, apis, err := makeAPISwarm(ctx, true, 3) + nds, apis, err := makeAPISwarm(ctx, true, 5) if err != nil { t.Fatal(err) } @@ -65,7 +65,7 @@ func TestDhtFindProviders(t *testing.T) { func TestDhtProvide(t *testing.T) { ctx := context.Background() - nds, apis, err := makeAPISwarm(ctx, true, 3) + nds, apis, err := makeAPISwarm(ctx, true, 5) if err != nil { t.Fatal(err) }