test/e2e: skip healthcheck test for remote

Skip "Verify default time is used and no utf-8 escapes" test for
podman-remote because the build does not properly respect --format
docker flag for HEALTHCHECK instructions.

The test builds with --format docker but remote builds still produce
the warning "HEALTHCHECK is not supported for OCI image format and
will be ignored" and the healthcheck is not included in the image,
resulting in <nil> instead of the expected CMD-SHELL configuration.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
Lokesh Mandvekar 2026-02-02 19:13:03 +05:30
parent 9fe105e89f
commit 7e13387e5f
No known key found for this signature in database
GPG key ID: 1C1EDD7CC7C3A0DD

View file

@ -292,6 +292,7 @@ var _ = Describe("Podman healthcheck run", func() {
})
It("Verify default time is used and no utf-8 escapes", func() {
SkipIfRemote("podman-remote build does not properly respect --format docker for HEALTHCHECK")
cwd, err := os.Getwd()
Expect(err).ToNot(HaveOccurred())