diff options
author | Valery Piashchynski <[email protected]> | 2021-01-18 22:38:45 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-18 22:38:45 +0300 |
commit | 4b17b4e3050be2f9caef749e7f05394d46815459 (patch) | |
tree | 787504dbb7b570f39c12af2913187175042b4bfd /pkg/pool/supervisor_test.go | |
parent | 6cbf6d78fe0a49475e5523a2bffe8996ecf8396e (diff) |
Update CI
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/pool/supervisor_test.go')
-rw-r--r-- | pkg/pool/supervisor_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pool/supervisor_test.go b/pkg/pool/supervisor_test.go index 72226bee..b3358965 100644 --- a/pkg/pool/supervisor_test.go +++ b/pkg/pool/supervisor_test.go @@ -135,7 +135,6 @@ func TestSupervisedPool_Idle(t *testing.T) { assert.NoError(t, err) assert.NotNil(t, p) - defer p.Destroy(context.Background()) pid := p.Workers()[0].Pid() @@ -151,6 +150,7 @@ func TestSupervisedPool_Idle(t *testing.T) { time.Sleep(time.Second * 5) // should be new worker with new pid assert.NotEqual(t, pid, p.Workers()[0].Pid()) + p.Destroy(context.Background()) } func TestSupervisedPool_ExecTTL_OK(t *testing.T) { |