From 84849690a40e68c9d8f312cc595aab7bd00e1b05 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Tue, 7 Jul 2026 20:00:40 -0700 Subject: [PATCH] Test: Fix flaky health test (#8239) --- plugin/pkg/proxy/health_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/pkg/proxy/health_test.go b/plugin/pkg/proxy/health_test.go index 5e5bdb940..1a2d9f295 100644 --- a/plugin/pkg/proxy/health_test.go +++ b/plugin/pkg/proxy/health_test.go @@ -104,8 +104,8 @@ func TestHealthHTTPS(t *testing.T) { hc := NewHealthChecker("TestHealthHTTPS", transport.HTTPS, true, ".") hc.SetTLSConfig(s.Client().Transport.(*http.Transport).TLSClientConfig) - hc.SetReadTimeout(10 * time.Millisecond) - hc.SetWriteTimeout(10 * time.Millisecond) + hc.SetReadTimeout(1 * time.Second) + hc.SetWriteTimeout(1 * time.Second) p := NewProxy("TestHealthHTTPS", s.URL, transport.HTTPS) p.readTimeout = 10 * time.Millisecond