From 15616dfa57111579e34509af3a3840f4fc6a7cae Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 6 Jun 2021 18:20:38 -0500 Subject: [PATCH] longer sleep for flaky test --- app/proxy/health_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proxy/health_test.go b/app/proxy/health_test.go index 187676c..bdf30d9 100644 --- a/app/proxy/health_test.go +++ b/app/proxy/health_test.go @@ -101,7 +101,7 @@ func TestHttp_healthHandler(t *testing.T) { go func() { _ = h.Run(ctx) }() - time.Sleep(20 * time.Millisecond) + time.Sleep(50 * time.Millisecond) client := http.Client{} req, err := http.NewRequest("GET", "http://127.0.0.1:"+strconv.Itoa(port)+"/health", nil)