summaryrefslogtreecommitdiff
path: root/worker_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-27 15:16:55 +0300
committerValery Piashchynski <[email protected]>2020-10-27 15:16:55 +0300
commitd199ef71b9644afbbba064c317cd0991be1c2443 (patch)
treef777eb90f10ca0e7dbc46227fc76c61f02111946 /worker_test.go
parent91cf918b30938129609323ded53e190385e019a6 (diff)
Supervised pool
Diffstat (limited to 'worker_test.go')
-rwxr-xr-xworker_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker_test.go b/worker_test.go
index d2744345..78738064 100755
--- a/worker_test.go
+++ b/worker_test.go
@@ -47,7 +47,7 @@ func Test_Kill(t *testing.T) {
assert.NotNil(t, w)
assert.Equal(t, StateReady, w.State().Value())
- err = w.Kill(ctx)
+ err = w.Kill()
if err != nil {
t.Errorf("error killing the WorkerProcess: error %v", err)
}