From a961fdc68b36a9e2226d6c7a89c5e621377c61a3 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Tue, 9 May 2023 10:03:05 -0400 Subject: [PATCH] test: fix TestJobEndpoint_Scale_BatchJob (#17124) --- nomad/job_endpoint_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nomad/job_endpoint_test.go b/nomad/job_endpoint_test.go index d320310634a..d79dc4daa52 100644 --- a/nomad/job_endpoint_test.go +++ b/nomad/job_endpoint_test.go @@ -7823,7 +7823,7 @@ func TestJobEndpoint_Scale_SystemJob(t *testing.T) { state := testServer.fsm.State() mockSystemJob := mock.SystemJob() - must.NoError(t, state.UpsertJob(structs.MsgTypeTestSetup, 10, nil, mockSystemJob)) + must.NoError(t, state.UpsertJob(structs.MsgTypeTestSetup, 10, mockSystemJob)) scaleReq := &structs.JobScaleRequest{ JobID: mockSystemJob.ID, @@ -7851,7 +7851,7 @@ func TestJobEndpoint_Scale_BatchJob(t *testing.T) { state := testServer.fsm.State() mockBatchJob := mock.BatchJob() - must.NoError(t, state.UpsertJob(structs.MsgTypeTestSetup, 10, nil, mockBatchJob)) + must.NoError(t, state.UpsertJob(structs.MsgTypeTestSetup, 10, mockBatchJob)) scaleReq := &structs.JobScaleRequest{ JobID: mockBatchJob.ID,