From 791572dc0acd94ea04455d2f81df339d8923b38a Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sat, 10 Aug 2024 23:28:28 -0300 Subject: [PATCH] test: timeout Signed-off-by: Carlos Alexandro Becker --- internal/proxy/proxy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/proxy/proxy_test.go b/internal/proxy/proxy_test.go index dc918bd..7ad2d45 100644 --- a/internal/proxy/proxy_test.go +++ b/internal/proxy/proxy_test.go @@ -68,7 +68,7 @@ func TestProxy(t *testing.T) { ProxyRequestTimeout: time.Second, UnhealthyServerRecoverChancePct: 1, HealthyErrorRateThreshold: 10, - HealthyErrorRateBucketTimeout: time.Second, + HealthyErrorRateBucketTimeout: time.Second * 10, }) ctx, cancel := context.WithCancel(context.Background())