diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/pool/supervisor_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/pool/supervisor_test.go b/pkg/pool/supervisor_test.go index cbe9f5cb..85af4672 100644 --- a/pkg/pool/supervisor_test.go +++ b/pkg/pool/supervisor_test.go @@ -53,7 +53,7 @@ func TestSupervisedPool_Exec(t *testing.T) { assert.NotNil(t, s) // since this is soft limit, double max memory limit watch if (s.MemoryUsage / MB) > cfgSupervised.Supervisor.MaxWorkerMemory*2 { - assert.Fail(t, "max memory reached") + assert.Fail(t, "max memory reached, worker still alive") } } } @@ -61,7 +61,7 @@ func TestSupervisedPool_Exec(t *testing.T) { }() for i := 0; i < 100; i++ { - time.Sleep(time.Millisecond * 50) + time.Sleep(time.Millisecond * 100) _, err = p.Exec(payload.Payload{ Context: []byte(""), Body: []byte("foo"), |