diff options
author | Valery Piashchynski <[email protected]> | 2021-08-13 22:15:21 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-13 22:15:21 +0300 |
commit | 6860326fa5d8f37f6e954da07fd53b9261731227 (patch) | |
tree | bb5fe7dde56edb1e8c3b55a21a874bbbaeda3a3b /pkg/pool/static_pool_test.go | |
parent | de378e7698db896b8fd16f628c7d89689c8371d0 (diff) | |
parent | 849b20c354faf81f2bcf101fba025ae425e33e85 (diff) |
#762: fix(tests): update gomock with tests, update all deps in the `go.mod`
#762: fix(tests): update gomock with tests, update all deps in the `go.mod`
Diffstat (limited to 'pkg/pool/static_pool_test.go')
-rwxr-xr-x | pkg/pool/static_pool_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/pool/static_pool_test.go b/pkg/pool/static_pool_test.go index 2ac2093d..b72b8c32 100755 --- a/pkg/pool/static_pool_test.go +++ b/pkg/pool/static_pool_test.go @@ -151,8 +151,9 @@ func Test_StaticPool_JobError(t *testing.T) { assert.NoError(t, err) assert.NotNil(t, p) - res, err := p.Exec(&payload.Payload{Body: []byte("hello")}) + time.Sleep(time.Second * 2) + res, err := p.Exec(&payload.Payload{Body: []byte("hello")}) assert.Error(t, err) assert.Nil(t, res) |