mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-06 07:37:49 +00:00
test/e2e: skip "podman rmi with cached images" for remote
Remote builds don't reuse cache layers the same way as local builds.
The test builds two images where the second image shares some steps
with the first, expecting cache layers to be shared. When the second
image is removed, only 2 images should be deleted (the final image +
one unique intermediate layer). However, in remote mode, cache isn't
shared, so 4 images are deleted instead.
This test was originally skipped for remote (commit pre-4b8df5903f)
with the note "FIXME This should work on podman-remote, problem is
with podman-remote build". It was enabled in commit 4b8df5903f
assuming the issue was fixed, but the underlying cache reuse problem
persists.
Re-add SkipIfRemote until the cache layer sharing issue is resolved.
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
83a50092f4
commit
ef49d7950e
1 changed files with 1 additions and 0 deletions
|
|
@ -183,6 +183,7 @@ var _ = Describe("Podman rmi", func() {
|
|||
})
|
||||
|
||||
It("podman rmi with cached images", func() {
|
||||
SkipIfRemote("podman-remote build does not reuse cache layers the same as local build")
|
||||
podmanTest.AddImageToRWStore(CIRROS_IMAGE)
|
||||
dockerfile := fmt.Sprintf(`FROM %s
|
||||
RUN mkdir hello
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue