From 860b595a8b1a29adceaf9bb21df5cbdcf7927df6 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 19 May 2024 23:52:21 +0200 Subject: [PATCH] backend: increase watchdog test timeout for deflaking --- internal/backend/watchdog_roundtriper_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/backend/watchdog_roundtriper_test.go b/internal/backend/watchdog_roundtriper_test.go index a13d670e0..b1f589bc0 100644 --- a/internal/backend/watchdog_roundtriper_test.go +++ b/internal/backend/watchdog_roundtriper_test.go @@ -64,7 +64,7 @@ func TestRoundtrip(t *testing.T) { })) defer srv.Close() - rt := newWatchdogRoundtripper(http.DefaultTransport, 50*time.Millisecond, 2) + rt := newWatchdogRoundtripper(http.DefaultTransport, 100*time.Millisecond, 2) req, err := http.NewRequestWithContext(context.TODO(), "GET", srv.URL, io.NopCloser(newSlowReader(bytes.NewReader(msg), time.Duration(delay)*time.Millisecond))) rtest.OK(t, err)