diff options
author | Valery Piashchynski <[email protected]> | 2020-12-22 23:27:51 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-22 23:27:51 +0300 |
commit | 1f6749ed4cf3cfd2beade4949945a382abd66b15 (patch) | |
tree | 7dff57a0223376746fd6cd49dc439f8766fe9f1b /pkg/pool/supervisor_test.go | |
parent | 95a72fe8003c66ac2d9a52b964aba4ee1d88363f (diff) |
Redisighn factory interface (add event listeners as variadic)v2.0.0-alpha28
Diffstat (limited to 'pkg/pool/supervisor_test.go')
-rw-r--r-- | pkg/pool/supervisor_test.go | 6 |
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, ) |