diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-04 16:24:34 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-04 20:26:34 -0400 |
commit | a0fb08100391f27c283e0bf62e5663222066b6bf (patch) | |
tree | 5328e9af0b2ea16e7b3529d37597a88352729958 /test/system/160-volumes.bats | |
parent | 807efd669802f00a90339bfa43a508505bec4858 (diff) | |
download | podman-a0fb08100391f27c283e0bf62e5663222066b6bf.tar.gz podman-a0fb08100391f27c283e0bf62e5663222066b6bf.tar.bz2 podman-a0fb08100391f27c283e0bf62e5663222066b6bf.zip |
Handle podman-remote run --rm
We need to remove the container after it has exited for
podman-remote run --rm commands. If we don't remove this
container at this step, we open ourselves up to race conditions.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system/160-volumes.bats')
-rw-r--r-- | test/system/160-volumes.bats | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats index e2aefed43..3f50bd3c4 100644 --- a/test/system/160-volumes.bats +++ b/test/system/160-volumes.bats @@ -93,7 +93,6 @@ Labels.l | $mylabel is "$(<$mountpoint/myfile)" "$rand" "we see content created in container" # Clean up - if is_remote; then sleep 2;fi # FIXME: pending #7119 run_podman volume rm $myvolume } @@ -135,7 +134,6 @@ EOF is "$output" "got here -$rand-" "script in volume is runnable with default (exec)" # Clean up - if is_remote; then sleep 2;fi # FIXME: pending #7119 run_podman volume rm $myvolume } @@ -173,7 +171,6 @@ EOF run_podman run --rm -v $myvol:/myvol:z $IMAGE \ sh -c "cp /myvol/myfile /myvol/myfile2" - if is_remote; then sleep 2;fi # FIXME: pending #7119 run_podman volume rm $myvol # Autocreated volumes should also work with keep-id @@ -182,7 +179,6 @@ EOF run_podman run --rm -v $myvol:/myvol:z --userns=keep-id $IMAGE \ touch /myvol/myfile - if is_remote; then sleep 2;fi # FIXME: pending #7119 run_podman volume rm $myvol } |