summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'static_pool_test.go')
-rw-r--r--static_pool_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/static_pool_test.go b/static_pool_test.go
index 5fe7e062..b7e5b0dd 100644
--- a/static_pool_test.go
+++ b/static_pool_test.go
@@ -185,10 +185,6 @@ func Test_StaticPool_Broken_FromOutside(t *testing.T) {
destructed := make(chan interface{})
p.Observe(func(e int, ctx interface{}) {
- if err, ok := ctx.(error); ok {
- assert.Contains(t, err.Error(), "exit status 1")
- }
-
if e == EventWorkerCreate {
close(destructed)
}