diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-08-03 07:56:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 07:56:13 +0000 |
commit | 1139cd9b8142aa4f4efb0f930a398453d521c1d9 (patch) | |
tree | 1a69e285813ea6d26c7da06d4e12230826ddb19e /test | |
parent | c09457e34a429622475e27fe68e17effe47fe0c3 (diff) | |
parent | 1249cbb75f50182f19e5976fa149386672451f2a (diff) | |
download | podman-1139cd9b8142aa4f4efb0f930a398453d521c1d9.tar.gz podman-1139cd9b8142aa4f4efb0f930a398453d521c1d9.tar.bz2 podman-1139cd9b8142aa4f4efb0f930a398453d521c1d9.zip |
Merge pull request #14974 from nicrowe00/kubedown1
add "podman kube down" command
Diffstat (limited to 'test')
-rw-r--r-- | test/system/700-play.bats | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/system/700-play.bats b/test/system/700-play.bats index 72602a9e6..e1955cfd1 100644 --- a/test/system/700-play.bats +++ b/test/system/700-play.bats @@ -182,8 +182,11 @@ EOF run_podman container inspect --format "{{.HostConfig.NetworkMode}}" $infraID is "$output" "none" "network mode none is set for the container" - run_podman stop -a -t 0 - run_podman pod rm -t 0 -f test_pod + run_podman kube down - < $PODMAN_TMPDIR/test.yaml + run_podman 125 inspect test_pod-test + is "$output" ".*Error: inspecting object: no such object: \"test_pod-test\"" + run_podman pod rm -a + run_podman rm -a } @test "podman play with user from image" { @@ -325,7 +328,6 @@ spec: - name: TERM value: xterm - name: container - value: podman image: quay.io/libpod/userimage name: test @@ -353,6 +355,9 @@ status: {} run_podman inspect --format "{{.HostConfig.LogConfig.Type}}" test_pod-test is "$output" "$default_driver" "play kube uses default log driver" - run_podman stop -a -t 0 - run_podman pod rm -t 0 -f test_pod + run_podman kube down $PODMAN_TMPDIR/test.yaml + run_podman 125 inspect test_pod-test + is "$output" ".*Error: inspecting object: no such object: \"test_pod-test\"" + run_podman pod rm -a + run_podman rm -a } |