From 3c5b8f63373c2a0057bc2528a16c362de549e4ee Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Mon, 1 Jul 2024 23:44:27 +0400 Subject: [PATCH] =?UTF-8?q?test:=20=F0=9F=A7=AA=20Missing=20tests=20added?= =?UTF-8?q?=20(existing=20corrected)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/http/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/server_test.go b/internal/http/server_test.go index d66a75f..754c640 100644 --- a/internal/http/server_test.go +++ b/internal/http/server_test.go @@ -367,7 +367,7 @@ func startServer(t *testing.T, srv *appHttp.Server) (_ string, stop func()) { <-time.After(5 * time.Millisecond) } - return fmt.Sprintf("http://%s", hostPort), func() { assert.NoError(t, srv.Stop(10*time.Millisecond)) } + return fmt.Sprintf("http://%s", hostPort), func() { assert.NoError(t, srv.Stop(350*time.Millisecond)) } } // getFreeTcpPort is a helper function to get a free TCP port number.