diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-09 10:28:21 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-10 16:13:33 -0500 |
commit | 19a475906612b603b11fbbf6ee6a6978a4bd9586 (patch) | |
tree | 6ae0507c33be21bcc265a547322f94fc4a00db7f /test/system/200-pod.bats | |
parent | 87cd4b698cea28ef99b3b3326309b068b9aa7f04 (diff) | |
download | podman-19a475906612b603b11fbbf6ee6a6978a4bd9586.tar.gz podman-19a475906612b603b11fbbf6ee6a6978a4bd9586.tar.bz2 podman-19a475906612b603b11fbbf6ee6a6978a4bd9586.zip |
Use the InfraImage defined in containers.conf
Remove hard code use of the DefaultInfraImage and rely on
getting this from containers.conf.
Fixes: https://github.com/containers/podman/issues/12771
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system/200-pod.bats')
-rw-r--r-- | test/system/200-pod.bats | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats index 57d052ce2..6abdf9779 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -62,8 +62,8 @@ function teardown() { @test "podman pod create - custom infra image" { + skip_if_remote "CONTAINERS_CONF only effects server side" image="i.do/not/exist:image" - tmpdir=$PODMAN_TMPDIR/pod-test run mkdir -p $tmpdir containersconf=$tmpdir/containers.conf @@ -77,6 +77,9 @@ EOF CONTAINERS_CONF=$containersconf run_podman 125 pod create is "$output" ".*initializing source docker://$image:.*" + + CONTAINERS_CONF=$containersconf run_podman 125 create --pod new:test $IMAGE + is "$output" ".*initializing source docker://$image:.*" } @test "podman pod - communicating between pods" { |