Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Increate time limits for weaker test machines.

  • Loading branch information...
commit 4f2d604e8a6ed85d87438fdfc626bca52bb20172 1 parent a32e992
@karalabe karalabe authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 heart/heart_test.go
View
4 heart/heart_test.go
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.