summaryrefslogtreecommitdiff
path: root/pkg/pool/supervisor_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pool/supervisor_test.go')
-rw-r--r--pkg/pool/supervisor_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/pool/supervisor_test.go b/pkg/pool/supervisor_test.go
index bdb64a3b..cb67ebe1 100644
--- a/pkg/pool/supervisor_test.go
+++ b/pkg/pool/supervisor_test.go
@@ -30,7 +30,7 @@ func TestSupervisedPool_Exec(t *testing.T) {
p, err := Initialize(
ctx,
func() *exec.Cmd { return exec.Command("php", "../../tests/memleak.php", "pipes") },
- pipe.NewPipeFactory(nil),
+ pipe.NewPipeFactory(),
cfgSupervised,
)
@@ -88,7 +88,7 @@ func TestSupervisedPool_ExecTTL_TimedOut(t *testing.T) {
p, err := Initialize(
ctx,
func() *exec.Cmd { return exec.Command("php", "../../tests/sleep.php", "pipes") },
- pipe.NewPipeFactory(nil),
+ pipe.NewPipeFactory(),
cfgExecTTL,
)
@@ -129,7 +129,7 @@ func TestSupervisedPool_ExecTTL_OK(t *testing.T) {
p, err := Initialize(
ctx,
func() *exec.Cmd { return exec.Command("php", "../../tests/sleep.php", "pipes") },
- pipe.NewPipeFactory(nil),
+ pipe.NewPipeFactory(),
cfgExecTTL,
)