Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Dittamo <[email protected]>
  • Loading branch information
pvditt committed Feb 21, 2025
1 parent 3c474be commit 1060c19
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1627,8 +1627,8 @@ func TestDemystifyFailure(t *testing.T) {
phaseInfo, err := DemystifyFailure(ctx, v1.PodStatus{}, pluginsCore.TaskInfo{}, "")
assert.Nil(t, err)
assert.Equal(t, pluginsCore.PhaseRetryableFailure, phaseInfo.Phase())
assert.Equal(t, "Interrupted", phaseInfo.Err().Code)
assert.Equal(t, core.ExecutionError_SYSTEM, phaseInfo.Err().Kind)
assert.Equal(t, "Interrupted", phaseInfo.Err().GetCode())
assert.Equal(t, core.ExecutionError_SYSTEM, phaseInfo.Err().GetKind())
})

t.Run("known-error", func(t *testing.T) {
Expand Down

0 comments on commit 1060c19

Please sign in to comment.