diff --git a/http_test.go b/http_test.go index 98e4fa2..d9c15bf 100644 --- a/http_test.go +++ b/http_test.go @@ -288,6 +288,7 @@ func TestHTTPCaller_RunWithContext(t *testing.T) { t.Errorf("Timed out on a shutdown, meaning workload wasn't processed, Stack: \n%s", string(debug.Stack())) case <-done: } + httpCaller.Stop() AssertIntGreaterOrEqual(t, callsCount, 5) }