Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Jun 18, 2024
2 parents f41fdc3 + 2cfef57 commit 005a49a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions snow/engine/snowman/job/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ func newSchedulerWithJob[T comparable](
fulfilled []T,
abandoned []T,
) *Scheduler[T] {
q := NewScheduler[T]()
require.NoError(t, q.Schedule(context.Background(), job, dependencies...))
s := NewScheduler[T]()
require.NoError(t, s.Schedule(context.Background(), job, dependencies...))
for _, d := range fulfilled {
require.NoError(t, q.Fulfill(context.Background(), d))
require.NoError(t, s.Fulfill(context.Background(), d))
}
for _, d := range abandoned {
require.NoError(t, q.Abandon(context.Background(), d))
require.NoError(t, s.Abandon(context.Background(), d))
}
return q
return s
}

func TestScheduler_Schedule(t *testing.T) {
Expand Down

0 comments on commit 005a49a

Please # to comment.