diff --git a/server/service/schedule/schedule_test.go b/server/service/schedule/schedule_test.go index 152ee88dbf7c..2e74bf0cbaa8 100644 --- a/server/service/schedule/schedule_test.go +++ b/server/service/schedule/schedule_test.go @@ -192,6 +192,9 @@ func TestMultipleSchedules(t *testing.T) { } func TestMultipleJobsInOrder(t *testing.T) { + os.Setenv("TEST_CRON_NO_RECOVER", "0") + defer os.Unsetenv("TEST_CRON_NO_RECOVER") + ctx, cancel := context.WithCancel(context.Background()) jobs := make(chan int)