From 952f8620b6d528a823dd5ef61a51cf491f6d54e6 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 10 May 2019 16:12:09 -0400 Subject: 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 --- test/e2e/images_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/e2e/images_test.go') 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() { -- cgit v1.2.3-54-g00ecf