summaryrefslogtreecommitdiff
path: root/server_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-12 21:13:54 +0300
committerWolfy-J <[email protected]>2018-06-12 21:13:54 +0300
commit47aa87a1cd438c6c99a4640f6af60fd408b5c3bc (patch)
treeb405ad7e1d3e6810c818be47a9cf67b7a534053c /server_test.go
parent99c1121d8fd31b7b61b6c22e181dc3c05a3f9f82 (diff)
improved worker watching
Diffstat (limited to 'server_test.go')
-rw-r--r--server_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/server_test.go b/server_test.go
index 2e92aad8..0ae06713 100644
--- a/server_test.go
+++ b/server_test.go
@@ -107,7 +107,8 @@ func TestServer_Stop_NotStarted(t *testing.T) {
DestroyTimeout: time.Second,
},
})
- assert.NoError(t, srv.Stop())
+
+ srv.Stop()
assert.Nil(t, srv.Workers())
}