summaryrefslogtreecommitdiff
path: root/pkg/pool
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pool')
-rwxr-xr-xpkg/pool/static_pool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pool/static_pool_test.go b/pkg/pool/static_pool_test.go
index 2d2b2b7d..a8fe3baa 100755
--- a/pkg/pool/static_pool_test.go
+++ b/pkg/pool/static_pool_test.go
@@ -171,7 +171,7 @@ func Test_StaticPool_Broken_Replace(t *testing.T) {
listener := func(event interface{}) {
if wev, ok := event.(events.WorkerEvent); ok {
- if wev.Event == events.EventWorkerLog {
+ if wev.Event == events.EventWorkerStderr {
e := string(wev.Payload.([]byte))
if strings.ContainsAny(e, "undefined_function()") {
block <- struct{}{}