forked from containers/podman
-
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.
bindings tests: bail out early on image errors
If Pull() fails, which it does on registry or network flakes, bail out early: there's no point in continuing. Same with Save() and restoreImageFromCache(), although those are unlikely to fail. Possibly better solution: retry with backoff. Left as exercise for future maintainer. Use Expect() for failure checks, and correct two existing instances of Printf()/Exit() to also use Expect(). Signed-off-by: Ed Santiago <[email protected]>
- Loading branch information
1 parent
53d8e4b
commit 5f5bea0
Showing
1 changed file
with
12 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