podman/pkg/bindings/test
Ed Santiago 5f5bea0d12 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 <santiago@redhat.com>
2023-04-19 08:16:45 -06:00
..
fixture Add guard for BuildOptions.CommonBuildOpts 2021-09-30 14:30:06 -07:00
attach_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
auth_test.go Add search --cert-dir, --creds 2023-03-15 15:01:26 +09:00
common_test.go bindings tests: bail out early on image errors 2023-04-19 08:16:45 -06:00
connection_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
containers_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
create_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
exec_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
generator_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
images_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
info_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
manifests_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
networks_test.go Network Create: Add --ignore flag to support idempotent script 2022-12-15 10:58:54 +02:00
pods_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
resource_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
secrets_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
system_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
test_suite_test.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
types_test.go Mark some of the option fields as ignored in pkg/bindings 2022-08-26 09:55:17 +03:00
volumes_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00