spiegel_podman/test/e2e
Paul Holzinger c5922cc6f0
test/e2e: fix CleanupVolume/Secrets()
Just like Cleanup() they should check the error codes.
While doing this it was clear that some volume tests were calling
Cleanup() twice so remove this.

Instead make sure they call Cleanup() themselves so callers only need to
do one call. This is required because we cannot use Expect().To() before
doing all the cleanup. An error causes panic does results in an early
return thus missing potentially important cleanup.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-05-02 11:27:39 +02:00
..
build Merge pull request #16315 from flouthoc/remote-ignore-symlink 2023-03-28 23:23:07 +02:00
cdi build(deps): bump github.com/container-orchestrated-devices/container-device-interface 2023-02-20 14:51:04 +01:00
config Read kube_generate_type from containers.conf 2023-04-11 09:15:05 -04:00
quadlet Support systemd optional prefix '-' for devices. 2023-04-26 14:22:57 -04:00
sign e2e: reduce dependency on /tmp for e2e tests 2023-01-26 22:20:15 +09:00
testdata Add (podman {image,manifest} push --sign-by-sigstore=param-file.yaml) 2023-01-27 16:47:32 +01:00
attach_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
build_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
checkpoint_image_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
checkpoint_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
cleanup_test.go test/e2e: fix pause tests to unpause before cleanup() 2023-05-02 11:27:38 +02:00
commit_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
common_test.go test/e2e: fix CleanupVolume/Secrets() 2023-05-02 11:27:39 +02:00
config.go *: migrate image registry to registry.k8s.io 2023-04-11 10:30:43 -04:00
config_amd64.go e2e tests: stop using UBI images 2023-01-06 08:21:50 -07:00
config_arm64.go e2e tests: stop using UBI images 2023-01-06 08:21:50 -07:00
config_ppc64le.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
container_clone_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
container_create_volume_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
container_inspect_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
containers_conf_test.go test/e2e: unset CONTAINERS_CONF before Cleanup() 2023-05-02 11:27:37 +02:00
cp_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
create_staticip_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
create_staticmac_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
create_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
diff_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
events_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
exec_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
exists_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
export_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
generate_kube_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
generate_spec_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
generate_systemd_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
healthcheck_run_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
history_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
image_scp_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
image_sign_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
images_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
import_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
info_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
init_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
inspect_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
kill_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
libpod_suite_remote_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
libpod_suite_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
load_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
login_logout_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
logs_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
manifest_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
mount_rootless_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
mount_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
negative_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
network_connect_disconnect_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
network_create_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
network_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pause_test.go test/e2e: fix pause tests to unpause before cleanup() 2023-05-02 11:27:38 +02:00
play_build_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
play_kube_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
pod_clone_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_create_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_infra_container_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_initcontainers_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_inspect_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_kill_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
pod_pause_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_pod_namespaces_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
pod_prune_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_ps_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_restart_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_rm_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
pod_start_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_stats_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_stop_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pod_top_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
port_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
prune_test.go test/e2e: fix CleanupVolume/Secrets() 2023-05-02 11:27:39 +02:00
ps_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
pull_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
push_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
quadlet_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
rename_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
restart_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
rm_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
rmi_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_aardvark_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_apparmor_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_cgroup_parent_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_cleanup_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_cpu_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_device_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_dns_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_entrypoint_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_env_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_exit_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_memory_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_networking_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_ns_test.go test/e2e: fix "podman run ipcns ipcmk container test" 2023-05-02 11:27:37 +02:00
run_passwd_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_privileged_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_restart_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_seccomp_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_security_labels_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_selinux_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_signal_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
run_staticip_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
run_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
run_transient_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_userns_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
run_volume_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
run_working_dir_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
runlabel_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
save_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
search_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
secret_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
start_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
stats_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
stop_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
system_connection_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
system_df_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
system_dial_stdio_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
system_reset_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
system_service_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
systemd_activate_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
systemd_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
tag_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
toolbox_test.go test/e2e: switch to GinkgoWriter 2023-05-02 11:27:38 +02:00
top_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
tree_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
trust_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
unshare_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
untag_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
update_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
version_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
volume_create_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
volume_exists_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
volume_inspect_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
volume_ls_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
volume_plugin_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00
volume_prune_test.go test/e2e: fix CleanupVolume/Secrets() 2023-05-02 11:27:39 +02:00
volume_rm_test.go test/e2e: fix CleanupVolume/Secrets() 2023-05-02 11:27:39 +02:00
wait_test.go ginkgo v2: remove CurrentGinkgoTestDescription() 2023-05-02 11:27:36 +02:00