Skip to content

Commit

Permalink
[QE] fix not catch error for oc login,#4101
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu authored and cfergeau committed Jul 2, 2024
1 parent 77c0f1f commit 22a112d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/extended/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func LoginToOcCluster(options []string) error {
ocLoginAsAdminCommand = ocLoginAsAdminCommand + " " + option
}

return ExecuteCommand(ocLoginAsAdminCommand)
return ExecuteCommandSucceedsOrFails(ocLoginAsAdminCommand, "succeeds")
}

// LoginToOcClusterSucceedsOrFails is a wrapper for LoginToOcCluster
Expand Down

0 comments on commit 22a112d

Please sign in to comment.