diff options
author | Valery Piashchynski <[email protected]> | 2020-12-21 11:11:19 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-21 11:11:19 +0300 |
commit | b403dd170bf3dc3ce451ba4ada40dd55773b032a (patch) | |
tree | 4e66296d5efcf7b7fa9713a377c7b539cb5ad600 | |
parent | 2f71f79ac704ed95dad961677b6e602e38641b5d (diff) |
Add some delay to the Test_StaticPool_Broken_Replace
-rwxr-xr-x | pkg/pool/static_pool_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/pool/static_pool_test.go b/pkg/pool/static_pool_test.go index b96e9214..30345aee 100755 --- a/pkg/pool/static_pool_test.go +++ b/pkg/pool/static_pool_test.go @@ -190,6 +190,7 @@ func Test_StaticPool_Broken_Replace(t *testing.T) { } }) + time.Sleep(time.Second) res, err := p.ExecWithContext(ctx, payload.Payload{Body: []byte("hello")}) assert.Error(t, err) assert.Nil(t, res.Context) |