summaryrefslogtreecommitdiff
path: root/pkg/pool/static_pool_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-21 11:11:19 +0300
committerValery Piashchynski <[email protected]>2020-12-21 11:11:19 +0300
commitb403dd170bf3dc3ce451ba4ada40dd55773b032a (patch)
tree4e66296d5efcf7b7fa9713a377c7b539cb5ad600 /pkg/pool/static_pool_test.go
parent2f71f79ac704ed95dad961677b6e602e38641b5d (diff)
Add some delay to the Test_StaticPool_Broken_Replace
Diffstat (limited to 'pkg/pool/static_pool_test.go')
-rwxr-xr-xpkg/pool/static_pool_test.go1
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)