From 71a1c707274dfcdf05b0e10c74cc8030a2efb65f Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Mon, 13 May 2019 19:21:08 -0500 Subject: [PATCH] Fix one more test setup --- command/agent/job_endpoint_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/agent/job_endpoint_test.go b/command/agent/job_endpoint_test.go index b99a5926b7a..a076a9b9d82 100644 --- a/command/agent/job_endpoint_test.go +++ b/command/agent/job_endpoint_test.go @@ -841,6 +841,7 @@ func TestHTTP_JobDeployment(t *testing.T) { state := s.Agent.server.State() d := mock.Deployment() d.JobID = j.ID + d.JobCreateIndex = resp.JobModifyIndex assert.Nil(state.UpsertDeployment(1000, d), "UpsertDeployment") // Make the HTTP request