Skip to content

Commit

Permalink
coreapi: dht: make tests less falky
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Łukasz Magiera <[email protected]>
  • Loading branch information
magik6k committed Aug 15, 2018
1 parent 6ee2ddb commit 49033ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/coreapi/dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit 49033ec

Please sign in to comment.