diff --git a/scheduler_monitor_test.go b/scheduler_monitor_test.go index 1b69a5b..e686635 100644 --- a/scheduler_monitor_test.go +++ b/scheduler_monitor_test.go @@ -106,7 +106,7 @@ func TestSchedulerMonitor_StartStopOrder(t *testing.T) { s.Start() time.Sleep(10 * time.Millisecond) - s.Shutdown() + require.NoError(t, s.Shutdown()) time.Sleep(10 * time.Millisecond) mu.Lock()