Skip to content

Commit

Permalink
bump up test delay durations
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
  • Loading branch information
lanzafame committed Apr 26, 2018
1 parent 0840d01 commit 4f31d6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ipfscluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,15 @@ func runF(t *testing.T, clusters []*Cluster, f func(*testing.T, *Cluster)) {
func delay() {
var d int
if nClusters > 10 {
d = 2000
d = 2500
} else {
d = 1000
d = 1500
}
time.Sleep(time.Duration(d) * time.Millisecond)
}

func pinDelay() {
time.Sleep(400 * time.Millisecond)
time.Sleep(600 * time.Millisecond)
}

func ttlDelay() {
Expand Down

0 comments on commit 4f31d6d

Please sign in to comment.