forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Report an error message when a pod fails in a cmd test
The logic for testing for pod failure lost the reason why, so no debug output was possible. Instead, update the one shot pod to capture fallback logs and then have the executor report that as the error message. E.g. Jul 22 20:13:43.152: INFO: pod "test-cmd" errored trying to run the command: <nil> because err was nil in the context it was invoked
- Loading branch information
1 parent
41ac895
commit 6701996
Showing
1 changed file
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters