File: timeout.patch

package info (click to toggle)
golang-github-hashicorp-go-checkpoint 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 176 kB
  • sloc: makefile: 3
file content (14 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: give "TestCheckInterval" slightly more leeway for successful completion
Author: Tianon Gravi <tianon@debian.org>

--- a/checkpoint_test.go
+++ b/checkpoint_test.go
@@ -177,7 +177,7 @@
 
 	select {
 	case <-calledCh:
-	case <-time.After(time.Second):
+	case <-time.After(2 * time.Second):
 		t.Fatalf("timeout")
 	}
 }