Skip to content

Commit

Permalink
tests: fix broken test in deploymentwatcher backport (#20376)
Browse files Browse the repository at this point in the history
The test added in #20348 for the deployment watcher was backported to 1.5.x but
is hitting a compilation error because the signature of a state store method was
changed.
  • Loading branch information
tgross committed Apr 12, 2024
1 parent d4004d6 commit f046b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/deploymentwatcher/deployments_watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ func TestWatcher_PurgeDeployment(t *testing.T) {
j := mock.Job()
d := mock.Deployment()
d.JobID = j.ID
must.NoError(t, m.state.UpsertJob(structs.MsgTypeTestSetup, m.nextIndex(), nil, j))
must.NoError(t, m.state.UpsertJob(structs.MsgTypeTestSetup, m.nextIndex(), j))
must.NoError(t, m.state.UpsertDeployment(m.nextIndex(), d))

// require that we get a call to UpsertDeploymentStatusUpdate
Expand Down

0 comments on commit f046b36

Please sign in to comment.