mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-07 23:02:40 +02:00
14 lines
455 B
Diff
14 lines
455 B
Diff
Tests time out on the builder often
|
|
|
|
--- a/lib/api/api_test.go
|
|
+++ b/lib/api/api_test.go
|
|
@@ -444,7 +444,7 @@ func TestAPIServiceRequests(t *testing.T) {
|
|
// testHTTPRequest tries the given test case, comparing the result code,
|
|
// content type, and result prefix.
|
|
func testHTTPRequest(t *testing.T, baseURL string, tc httpTestCase, apikey string) {
|
|
- timeout := time.Second
|
|
+ timeout := 5 * time.Second
|
|
if tc.Timeout > 0 {
|
|
timeout = tc.Timeout
|
|
}
|