From 47aa87a1cd438c6c99a4640f6af60fd408b5c3bc Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Tue, 12 Jun 2018 21:13:54 +0300 Subject: improved worker watching --- server_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server_test.go') 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()) } -- cgit v1.2.3