1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: give "TestCheckInterval" slightly more leeway for successful completion
Author: Tianon Gravi <tianon@debian.org>
Index: golang-github-hashicorp-go-checkpoint/checkpoint_test.go
===================================================================
--- golang-github-hashicorp-go-checkpoint.orig/checkpoint_test.go
+++ golang-github-hashicorp-go-checkpoint/checkpoint_test.go
@@ -159,7 +159,7 @@ func TestCheckInterval(t *testing.T) {
select {
case <-calledCh:
- case <-time.After(time.Second):
+ case <-time.After(2 * time.Second):
t.Fatalf("timeout")
}
}
|