Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: kerthcet <[email protected]>
  • Loading branch information
kerthcet committed Dec 12, 2024
1 parent 950b6fa commit 2371d79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/job/job_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ func TestAbortingState_Execute(t *testing.T) {
t.Error("Error while retrieving value from Cache")
}

if jobInfo.Job.Status.RetryCount == 0 {
t.Error("Retry Count should not be zero")
if jobInfo.Job.Status.RetryCount != 0 {
t.Error("Retry Count should be zero")
}
}

Expand Down

0 comments on commit 2371d79

Please sign in to comment.