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 f4c24bc commit 62125b1
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 @@ -595,9 +595,7 @@ func TestLeader_PeriodicDispatcher_No_Overlaps_No_Running_Job(t *testing.T) {
t.Fatalf("restorePeriodicDispatcher did not force launch")
}

if md.forceEvalCalled != true {
t.Fatalf("failed to force job evaluation")
}
must.True(t, md.forceEvalCalled, must.Sprint("failed to force job evaluation"))
t.Fail()
}

Expand Down

0 comments on commit 62125b1

Please sign in to comment.