diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-05-10 16:12:09 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-05-10 16:12:09 -0400 |
commit | 952f8620b6d528a823dd5ef61a51cf491f6d54e6 (patch) | |
tree | c79a3c403be246a4d0ae1c73cec4e1946eca7838 /test/e2e | |
parent | 5cbb3e7e9d14ff8e09e3a36c974d73e9c1a5b9a9 (diff) | |
download | podman-952f8620b6d528a823dd5ef61a51cf491f6d54e6.tar.gz podman-952f8620b6d528a823dd5ef61a51cf491f6d54e6.tar.bz2 podman-952f8620b6d528a823dd5ef61a51cf491f6d54e6.zip |
Add fix for an issue breaking our CI
Buildah no longer updates the create time of single-action images
(e.g. `FROM ...` with no other instructions. This isn't a bug (it
matches Docker's behavior), but it broke one of our tests.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/images_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index 5a299fe75..bec6e304b 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -169,12 +169,13 @@ var _ = Describe("Podman images", func() { Skip("Does not work on remote client") } dockerfile := `FROM docker.io/library/alpine:latest +RUN apk update && apk add man ` podmanTest.BuildImage(dockerfile, "foobar.com/before:latest", "false") result := podmanTest.Podman([]string{"images", "-q", "-f", "before=foobar.com/before:latest"}) result.WaitWithDefaultTimeout() Expect(result.ExitCode()).To(Equal(0)) - Expect(len(result.OutputToStringArray())).To(Equal(1)) + Expect(len(result.OutputToStringArray()) >= 1).To(BeTrue()) }) It("podman images filter after image", func() { |