Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
  • Loading branch information
d80tb7 committed Aug 24, 2024
1 parent f682546 commit 80d74f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ func TestScheduler_TestSyncState(t *testing.T) {
},
runUpdates: []database.Run{
{
RunID: uuid.UUID{},
RunID: uuid.MustParse(leasedJob.LatestRun().Id()),
JobID: queuedJob.Id(),
JobSet: queuedJob.Jobset(),
Executor: "test-executor",
Expand All @@ -1121,7 +1121,7 @@ func TestScheduler_TestSyncState(t *testing.T) {
expectedUpdatedJobs: []*jobdb.Job{
queuedJob.WithUpdatedRun(
testfixtures.JobDb.CreateRun(
"",
leasedJob.LatestRun().Id(),
queuedJob.Id(),
123,
"test-executor",
Expand Down

0 comments on commit 80d74f1

Please sign in to comment.