test/e2e: skip userns auto:size test in remote mode

The --userns=auto auto-sizing with --user parameter is broken in
remote mode in v4.4.1. When using --user=2000:3000, the auto namespace
should automatically expand to accommodate those IDs, but it fails with
"not enough unused IDs in user namespace".

This is fixed by the ID mapping refactor in d5cf46e807, which is too
complex to backport. Skip the entire test in remote mode.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
Lokesh Mandvekar 2026-02-04 22:18:19 +05:30
parent bcbe17fb51
commit 8e82beb06c
No known key found for this signature in database
GPG key ID: 1C1EDD7CC7C3A0DD

View file

@ -236,6 +236,7 @@ var _ = Describe("Podman UserNS support", func() {
})
It("podman --userns=auto:size=%d", func() {
SkipIfRemote("auto-sizing with --user broken in v4.4.1, fixed by d5cf46e807")
u, err := user.Current()
Expect(err).ToNot(HaveOccurred())