diff options
author | Wolfy-J <[email protected]> | 2018-06-12 23:36:34 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-12 23:36:34 +0300 |
commit | 3126c203b10573f6b834b426edbe2e66b50eb9a2 (patch) | |
tree | 13cf7b879fb7fe6c733929c182f9ada2fb125910 /static_pool_test.go | |
parent | 47aa87a1cd438c6c99a4640f6af60fd408b5c3bc (diff) |
fixing worker allocation loop
Diffstat (limited to 'static_pool_test.go')
-rw-r--r-- | static_pool_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/static_pool_test.go b/static_pool_test.go index 548fb126..231bc71b 100644 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -2,13 +2,13 @@ package roadrunner import ( "github.com/stretchr/testify/assert" - "log" "os/exec" "runtime" "strconv" - "sync" "testing" "time" + "sync" + "log" ) var cfg = Config{ @@ -266,6 +266,7 @@ func Test_StaticPool_Replace_Worker(t *testing.T) { } } + // identical to replace but controlled on worker side func Test_StaticPool_Stop_Worker(t *testing.T) { p, err := NewPool( |