Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update scheduler_test.go
Browse files Browse the repository at this point in the history
JohnRoesler authored Jan 23, 2025
1 parent 64eac55 commit ef71333
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scheduler_test.go
Original file line number Diff line number Diff line change
@@ -375,7 +375,6 @@ func TestScheduler_StopLongRunningJobs(t *testing.T) {
func(ctx context.Context) {
select {
case <-ctx.Done():
time.Sleep(time.Second)
case <-time.After(100 * time.Millisecond):
t.Fatal("job can not been canceled")
}

0 comments on commit ef71333

Please sign in to comment.