From 73f0346ab726e03833b8c5fd04258769d08dd8d4 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 28 Feb 2020 11:57:15 +0300 Subject: Sleep times update --- service/limit/service_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'service') diff --git a/service/limit/service_test.go b/service/limit/service_test.go index 445f8822..bfea003f 100644 --- a/service/limit/service_test.go +++ b/service/limit/service_test.go @@ -82,7 +82,7 @@ func Test_Service_PidEcho(t *testing.T) { } }() - time.Sleep(time.Second) + time.Sleep(time.Millisecond * 100) req, err := http.NewRequest("GET", "http://localhost:6029", nil) assert.NoError(t, err) @@ -225,7 +225,7 @@ func Test_Service_ListenerPlusIdleTTL(t *testing.T) { }() - time.Sleep(time.Second) + time.Sleep(time.Millisecond * 100) lastPID := getPID(s) @@ -302,7 +302,7 @@ func Test_Service_Listener_MaxExecTTL(t *testing.T) { } }() - time.Sleep(time.Second) + time.Sleep(time.Millisecond * 100) req, err := http.NewRequest("GET", "http://localhost:6029", nil) assert.NoError(t, err) @@ -361,7 +361,7 @@ func Test_Service_Listener_MaxMemoryUsage(t *testing.T) { } }() - time.Sleep(time.Second) + time.Sleep(time.Millisecond * 100) lastPID := getPID(s) -- cgit v1.2.3