Skip to content

Commit

Permalink
race in test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRoesler committed Nov 14, 2023
1 parent 10ea898 commit 5637335
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1062,12 +1062,12 @@ func TestScheduler_WithDistributed(t *testing.T) {
schedulersDone := make(chan struct{}, tt.count)

for i := tt.count; i > 0; i-- {
go func() {
s, err := newTestScheduler(
tt.opt,
)
require.NoError(t, err)
s, err := newTestScheduler(
tt.opt,
)
require.NoError(t, err)

go func() {
s.Start()

_, err = s.NewJob(
Expand Down

0 comments on commit 5637335

Please sign in to comment.