Skip to content

Commit

Permalink
scheduler: Fix nightly tests (hashicorp#1437)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Oct 3, 2023
1 parent bb5be8b commit 5796f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scheduler/scheduler_long_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestScheduler_millionJobsQueued(t *testing.T) {

tmpDir := t.TempDir()
ctx, cancelFunc := context.WithCancel(context.Background())
ctx = lsctx.WithRPCContext(ctx, lsctx.RPCContextData{})
ctx = lsctx.WithDocumentContext(ctx, lsctx.Document{})

lowPrioSched := NewScheduler(ss.JobStore, 1, job.LowPriority)
lowPrioSched.Start(ctx)
Expand Down

0 comments on commit 5796f7a

Please sign in to comment.