podman/test/e2e
Peter Hunt 81804fc464 pod infra container is started before a container in a pod is run, started, or attached.
Prior, a pod would have to be started immediately when created, leading to confusion about what a pod state should be immediately after creation. The problem was podman run --pod ... would error out if the infra container wasn't started (as it is a dependency). Fix this by allowing for recursive start, where each of the container's dependencies are started prior to the new container. This is only applied to the case where a new container is attached to a pod.

Also rework container_api Start, StartAndAttach, and Init functions, as there was some duplicated code, which made addressing the problem easier to fix.

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2019-02-15 16:39:24 -05:00
..
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
attach_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
checkpoint_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
commit_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
common_test.go tests: allow to override the OCI runtime 2019-02-05 15:35:50 +01:00
config.go allow ppc64le to pass libpod integration tests 2018-10-31 18:40:09 -05:00
config_amd64.go replace quay.io/baude to quay.io/libpod 2018-11-01 10:31:44 -05:00
config_ppc64le.go replace quay.io/baude to quay.io/libpod 2018-11-01 10:31:44 -05:00
cp_test.go 'podman cp' copy between host and container 2019-02-14 09:29:53 -05:00
create_staticip_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
create_test.go Remove a lot of '--rm' options from unit tests 2019-02-12 14:18:23 -05:00
diff_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
e2e.coverprofile pod infra container is started before a container in a pod is run, started, or attached. 2019-02-15 16:39:24 -05:00
exec_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
exists_test.go podman remote integrations tests 2019-01-15 08:19:26 -06:00
export_test.go podman-remote import|export 2019-02-05 10:05:41 -06:00
generate_kube_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
history_test.go add support for podman-remote history 2019-01-15 10:29:24 -06:00
images_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
import_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
info_test.go Add podman system prune and info commands 2019-02-05 10:41:55 -08:00
inspect_test.go podman-remote inspect 2019-01-18 15:43:11 -06:00
kill_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
libpod_suite_remoteclient_test.go tests: allow to override the OCI runtime 2019-02-05 15:35:50 +01:00
libpod_suite_test.go tests: allow to override the OCI runtime 2019-02-05 15:35:50 +01:00
load_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
logs_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
mount_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
namespace_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pause_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_create_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_infra_container_test.go pod infra container is started before a container in a pod is run, started, or attached. 2019-02-15 16:39:24 -05:00
pod_inspect_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_kill_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_pause_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_pod_namespaces.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_ps_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_restart_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_rm_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_start_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_stats_test.go Podman pod stats -- fix GO template output 2019-02-10 11:27:09 -06:00
pod_stop_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
pod_top_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
port_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
prune_test.go Add podman system prune and info commands 2019-02-05 10:41:55 -08:00
ps_test.go Fix regression in ps with custom format 2019-01-30 08:32:28 -06:00
pull_test.go Add --all-tags to pull command 2019-02-09 20:00:19 -05:00
push_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
refresh_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
restart_test.go Migrate to cobra CLI 2019-02-08 10:26:43 -06:00
rm_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
rmi_test.go podman remote integrations tests 2019-01-15 08:19:26 -06:00
rootless_test.go rootless: fix --pid=host without --privileged 2019-01-18 17:12:28 +01:00
run_cgroup_parent_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_cleanup_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_cpu_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_device_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_dns_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_entrypoint_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_exit_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_memory_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_networking_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_ns_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_passwd_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_privileged_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_restart_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_selinux_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_signal_test.go e2e tests: sigproxy: fix rare hang condition 2019-02-05 14:10:49 -07:00
run_staticip_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
run_test.go Try disabling --rm on notify_socket test 2019-02-13 11:41:20 -05:00
run_userns_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
runlabel_test.go Changes to container runlabel for toolbox project 2019-01-30 08:44:58 -06:00
save_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
search_test.go Fix down/missing registry.access.redhat.com 2019-02-07 09:50:45 -05:00
start_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
stats_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
stop_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
systemd_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
tag_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
top_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
trust_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00
version_test.go enable podman-remote version 2019-01-21 15:23:30 -06:00
volume_create_test.go enable podman-remote volume prune 2019-02-14 10:55:05 -06:00
volume_inspect_test.go enable podman-remote volume prune 2019-02-14 10:55:05 -06:00
volume_ls_test.go enable podman-remote volume prune 2019-02-14 10:55:05 -06:00
volume_prune_test.go Add podman system prune and info commands 2019-02-05 10:41:55 -08:00
volume_rm_test.go enable podman-remote volume prune 2019-02-14 10:55:05 -06:00
wait_test.go Run integrations test with remote-client 2019-01-14 14:51:32 -06:00