integration: Enable userns tests for sbserver
Now we ported support to sbserver, let's enable the e2e tests there too. Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
This commit is contained in:
parent
9160386ecc
commit
48cdf1fe2c
@ -94,9 +94,6 @@ func TestPodUserNS(t *testing.T) {
|
||||
},
|
||||
} {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
if os.Getenv("ENABLE_CRI_SANDBOXES") == "'sandboxed'" {
|
||||
t.Skip("skipping test: userns not supported/needed in sanboxed runtimes")
|
||||
}
|
||||
cmd := exec.Command("true")
|
||||
cmd.SysProcAttr = &syscall.SysProcAttr{
|
||||
Cloneflags: syscall.CLONE_NEWUSER,
|
||||
|
Loading…
Reference in New Issue
Block a user