diff options
author | Valery Piashchynski <[email protected]> | 2020-02-28 11:57:15 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-28 11:57:15 +0300 |
commit | 73f0346ab726e03833b8c5fd04258769d08dd8d4 (patch) | |
tree | e5706af88f6d643f8fd18bee7fe221088938c415 | |
parent | 576f385fcffc836bed5bc156c9d4c1eb455905fb (diff) |
Sleep times update
-rw-r--r-- | service/limit/service_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
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) |