diff options
author | Ed Santiago <santiago@redhat.com> | 2021-02-24 14:24:26 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-03-15 15:27:06 -0600 |
commit | 963d19c759c843a2cdb853a508dbe6a4db8c87cf (patch) | |
tree | 6d0327afcb7e00979af56c798e87d80c15a0c334 /test/system/065-cp.bats | |
parent | e7dc59252bd722377938ac3e6b4fd7e077f05293 (diff) | |
download | podman-963d19c759c843a2cdb853a508dbe6a4db8c87cf.tar.gz podman-963d19c759c843a2cdb853a508dbe6a4db8c87cf.tar.bz2 podman-963d19c759c843a2cdb853a508dbe6a4db8c87cf.zip |
System test cleanup
- cp test: clean up stray image
- build test: add workaround for #9567 (ultra-slow ubuntu).
We're seeing CI flakes (timeouts) due to ubuntu 2004 being
absurdly slow. Workaround: double our timeout on one specific
test when ubuntu + remote.
- build test: clean up new copy-from test (from #9275).
The test was copy-pasted from buildah system tests, without
really adapting for podman environment (e.g. it was using
images that we don't use here, and would cause pulls, which
will cause flakes). Rewrite test so it references only $IMAGE,
remove some confusing/unnecessary stuff, selectively run
parts of it even when rootless or remote, and add a
test to confirm that copy-from succeeded.
- load test: add error-message test to new load-invalid (#9672).
Basically, make sure the command fails for the right reason.
- play test (kube): use $IMAGE, not alpine; and add pause-image
cleanup to teardown()
- apiv2 mounts test: add a maintainability comment in a tricky
section of code; and tighten up the mount point test.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/065-cp.bats')
-rw-r--r-- | test/system/065-cp.bats | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/system/065-cp.bats b/test/system/065-cp.bats index 73e807843..679cdc209 100644 --- a/test/system/065-cp.bats +++ b/test/system/065-cp.bats @@ -370,6 +370,7 @@ load helpers is "${lines[0]}" "${randomcontent[0]}" "eval symlink - created container" is "${lines[1]}" "${randomcontent[1]}" "eval symlink - created container" run_podman rm -f cpcontainer + run_podman rmi $cpimage } |