mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-11-03 09:37:34 +00:00
test/e2e: skip build userns=auto test in remote mode
The --userns=auto flag is not being properly applied when building in remote mode in v4.4.1. Containers are getting the default rootless user namespace (65536 IDs) instead of an auto-allocated smaller namespace with the default size of 1024 IDs. This requires refactoring the namespace setup ordering which is too complex to backport cleanly to v4.4.1. Skip this test in remote mode. Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
parent
c4c07d329c
commit
fedda4a758
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ var _ = Describe("Podman UserNS support", func() {
|
|||
// causing them to skip hence this is a redundant test for sanity to make sure
|
||||
// we don't break this feature for podman-remote.
|
||||
It("podman build with --userns=auto", func() {
|
||||
SkipIfRemote("--userns=auto not properly applied in remote mode in v4.4.1")
|
||||
u, err := user.Current()
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
name := u.Username
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue