diff options
author | Valery Piashchynski <[email protected]> | 2020-12-14 13:54:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-14 13:54:44 +0300 |
commit | f6063d06d3a381036abd672dfbb799d777455fb0 (patch) | |
tree | 2370c6e2263fd286d8fe412de951304df69f9806 /supervisor_test.go | |
parent | 00b42663891713f142a6cc67bcccdc31353daeb2 (diff) |
fix tests issues
Diffstat (limited to 'supervisor_test.go')
-rw-r--r-- | supervisor_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/supervisor_test.go b/supervisor_test.go index 08ea356d..d5d7d04c 100644 --- a/supervisor_test.go +++ b/supervisor_test.go @@ -142,7 +142,8 @@ func TestSupervisedPool_ExecTTL_OK(t *testing.T) { }) assert.NoError(t, err) - assert.Empty(t, resp) + assert.Empty(t, resp.Body) + assert.Empty(t, resp.Context) time.Sleep(time.Second * 1) // should be the same pid |