File: increase-test-timeout

package info (click to toggle)
golang-gopkg-jarcoal-httpmock.v1 0.0~git20180304.61bcb58-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 136 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
Increase test timeout for buildd infrastructure.
--- a/transport_test.go
+++ b/transport_test.go
@@ -276,7 +276,7 @@
 }
 
 func TestMockTransportRespectsTimeout(t *testing.T) {
-	timeout := time.Millisecond
+	timeout := time.Second
 	client := &http.Client{
 		Timeout: timeout,
 	}