Permalink
Browse files

Increate time limits for weaker test machines.

  • Loading branch information...
1 parent a32e992 commit 4f2d604e8a6ed85d87438fdfc626bca52bb20172 @karalabe karalabe committed Mar 6, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 heart/heart_test.go
View
@@ -45,7 +45,7 @@ func TestHeart(t *testing.T) {
bob := big.NewInt(241)
// Heartbeat parameters
- beat := time.Duration(10 * time.Millisecond)
+ beat := time.Duration(25 * time.Millisecond)
kill := 3
call := &testCallback{dead: []*big.Int{}}
@@ -63,7 +63,7 @@ func TestHeart(t *testing.T) {
}
// Start the beater and check for beat events
heart.Start()
- time.Sleep(3 * time.Millisecond) // Go out of sync with beater
+ time.Sleep(10 * time.Millisecond) // Go out of sync with beater
time.Sleep(beat)
if n := call.beat; n != 1 {

0 comments on commit 4f2d604

Please sign in to comment.