Skip to content

Commit

Permalink
Merge c762dc8 into backport/b-gh-11052/steadily-adapting-tortoise
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-nomad-core committed Mar 27, 2023
2 parents 1bafd17 + c762dc8 commit 6dc287e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nomad/leader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,7 @@ func TestLeader_PeriodicDispatcher_No_Overlaps_No_Running_Job(t *testing.T) {
ID: job.ID,
Namespace: job.Namespace,
}
if _, tracked := s1.periodicDispatcher.tracked[tuple]; !tracked {
t.Fatalf("periodic job not restored")
}
must.MapContainsKey(t, s1.periodicDispatcher.tracked, tuple, must.Sprint("periodic job not restored"))

// Check that an eval was made.
ws := memdb.NewWatchSet()
Expand Down

0 comments on commit 6dc287e

Please sign in to comment.