Skip to content

Commit

Permalink
Update nomad/leader_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
  • Loading branch information
Juanadelacuesta and jrasell committed Mar 27, 2023
1 parent b3eacaa commit c762dc8
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 @@ -580,9 +580,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 c762dc8

Please sign in to comment.