diff options
author | Valery Piashchynski <[email protected]> | 2021-10-02 18:45:49 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-10-02 18:45:49 +0300 |
commit | 2aa7acc3509fbc2001a4827546f7a8bda496fb05 (patch) | |
tree | 7a6ae098335f8d6dd0abbf103430ccb802449bbc | |
parent | 6e0b122a020fd90b7d8fd17f26bff49250a71300 (diff) |
Update Pool_Exec test
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r-- | pool/supervisor_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pool/supervisor_test.go b/pool/supervisor_test.go index a58ad8c3..aca379c6 100644 --- a/pool/supervisor_test.go +++ b/pool/supervisor_test.go @@ -44,8 +44,8 @@ func TestSupervisedPool_Exec(t *testing.T) { pidBefore := p.Workers()[0].Pid() - for i := 0; i < 100; i++ { - time.Sleep(time.Millisecond * 100) + for i := 0; i < 10; i++ { + time.Sleep(time.Second) _, err = p.Exec(&payload.Payload{ Context: []byte(""), Body: []byte("foo"), |