From 56e040b80b501f2714dfc4c237eed69c4ea96746 Mon Sep 17 00:00:00 2001 From: Umputun Date: Thu, 8 Jul 2021 16:32:24 -0500 Subject: [PATCH] allow longer time to start proxy in limiter test --- app/proxy/proxy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proxy/proxy_test.go b/app/proxy/proxy_test.go index 14610c2..a4d93ca 100644 --- a/app/proxy/proxy_test.go +++ b/app/proxy/proxy_test.go @@ -465,7 +465,7 @@ func TestHttp_DoLimitedReq(t *testing.T) { go func() { _ = h.Run(ctx) }() - time.Sleep(10 * time.Millisecond) + time.Sleep(50 * time.Millisecond) client := http.Client{}