Skip to content

Commit

Permalink
Fixes from rename
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMurkin committed Apr 13, 2023
1 parent bcf42bc commit 4b54e5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func TestScheduler_TestCycle(t *testing.T) {
fmt.Sprintf("%T", &armadaevents.EventSequence_Event_CancelledJob{}): stringSet(tc.expectedJobCancelled),
fmt.Sprintf("%T", &armadaevents.EventSequence_Event_ReprioritisedJob{}): stringSet(tc.expectedJobReprioritised),
fmt.Sprintf("%T", &armadaevents.EventSequence_Event_JobSucceeded{}): stringSet(tc.expectedJobSucceeded),
fmt.Sprintf("%T", &armadaevents.EventSequence_Event_RequeueJob{}): stringSet(tc.expectedRequeued),
fmt.Sprintf("%T", &armadaevents.EventSequence_Event_JobRequeued{}): stringSet(tc.expectedRequeued),
}
err = subtractEventsFromOutstandingEventsByType(publisher.events, outstandingEventsByType)
require.NoError(t, err)
Expand Down
6 changes: 3 additions & 3 deletions internal/scheduleringester/instructions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ func TestConvertSequence(t *testing.T) {
expected: []DbOperation{
UpdateJobQueuedState{f.JobIdString: &JobQueuedStateUpdate{
Queued: true,
QueuedStateVersion: f.JobRequeued.GetRequeueJob().UpdateSequenceNumber,
QueuedStateVersion: f.JobRequeued.GetJobRequeued().UpdateSequenceNumber,
}},
UpdateJobSchedulingInfo{f.JobIdString: &JobSchedulingInfoUpdate{
JobSchedulingInfo: protoutil.MustMarshall(f.JobRequeued.GetRequeueJob().SchedulingInfo),
JobSchedulingInfoVersion: int32(f.JobRequeued.GetRequeueJob().SchedulingInfo.Version),
JobSchedulingInfo: protoutil.MustMarshall(f.JobRequeued.GetJobRequeued().SchedulingInfo),
JobSchedulingInfoVersion: int32(f.JobRequeued.GetJobRequeued().SchedulingInfo.Version),
}},
},
},
Expand Down

0 comments on commit 4b54e5d

Please sign in to comment.