Skip to content

Commit

Permalink
Fix one more test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
preetapan committed May 14, 2019
1 parent dee1674 commit 71a1c70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions command/agent/job_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71a1c70

Please sign in to comment.