summaryrefslogtreecommitdiff
path: root/pkg/pipe/pipe_factory_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-22 23:27:51 +0300
committerValery Piashchynski <[email protected]>2020-12-22 23:27:51 +0300
commit1f6749ed4cf3cfd2beade4949945a382abd66b15 (patch)
tree7dff57a0223376746fd6cd49dc439f8766fe9f1b /pkg/pipe/pipe_factory_test.go
parent95a72fe8003c66ac2d9a52b964aba4ee1d88363f (diff)
Redisighn factory interface (add event listeners as variadic)v2.0.0-alpha28
Diffstat (limited to 'pkg/pipe/pipe_factory_test.go')
-rwxr-xr-xpkg/pipe/pipe_factory_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pipe/pipe_factory_test.go b/pkg/pipe/pipe_factory_test.go
index 3cef0646..dca09375 100755
--- a/pkg/pipe/pipe_factory_test.go
+++ b/pkg/pipe/pipe_factory_test.go
@@ -415,7 +415,7 @@ func Test_Broken(t *testing.T) {
}
}
- w, err := NewPipeFactory(listener).SpawnWorkerWithTimeout(ctx, cmd)
+ w, err := NewPipeFactory().SpawnWorkerWithTimeout(ctx, cmd, listener)
if err != nil {
t.Fatal(err)
}