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 f841f4f commit 186f982
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 @@ -651,9 +651,7 @@ func TestLeader_PeriodicDispatcher_No_Overlaps_Running_Job(t *testing.T) {
}
must.MapContainsKey(t, s1.periodicDispatcher.tracked, tuple, must.Sprint("periodic job not restored"))

if md.forceEvalCalled != false {
t.Fatalf("evaluation forced with job already running")
}
must.False(t, md.forceEvalCalled, must.Sprint("evaluation forced with job already running"))
}

func TestLeader_PeriodicDispatch(t *testing.T) {
Expand Down

0 comments on commit 186f982

Please sign in to comment.