@cryptotaxi247 / kubo / commits / db646d044

coreapi: dht: make tests less falky

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Aug 15, 2018 at 14:38 UTC db646d044d4c9636f6eb15390a342253196491c9
1 file changed +3 -3
core/coreapi/dht_test.go
+3 -3
@@ -15,7 +15,7 @@ import (
15
16 func TestDhtFindPeer(t *testing.T) {
17 ctx := context.Background()
18 - nds, apis, err := makeAPISwarm(ctx, true, 3)
18 + nds, apis, err := makeAPISwarm(ctx, true, 5)
19 if err != nil {
20 t.Fatal(err)
21 }
@@ -41,7 +41,7 @@ func TestDhtFindPeer(t *testing.T) {
41
42 func TestDhtFindProviders(t *testing.T) {
43 ctx := context.Background()
44 - nds, apis, err := makeAPISwarm(ctx, true, 3)
44 + nds, apis, err := makeAPISwarm(ctx, true, 5)
45 if err != nil {
46 t.Fatal(err)
47 }
@@ -65,7 +65,7 @@ func TestDhtFindProviders(t *testing.T) {
65
66 func TestDhtProvide(t *testing.T) {
67 ctx := context.Background()
68 - nds, apis, err := makeAPISwarm(ctx, true, 3)
68 + nds, apis, err := makeAPISwarm(ctx, true, 5)
69 if err != nil {
70 t.Fatal(err)
71 }