e2e/node: Skip userns tests on windows

While they have the LinuxOnly part, other tests have that and this
e2eskipper line. Let's add it just in case.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
This commit is contained in:
Rodrigo Campos 2025-03-18 11:40:13 +01:00
parent c348bd10e6
commit c11077f417

View File

@ -60,6 +60,8 @@ var _ = SIGDescribe("Security Context", func() {
})
ginkgo.Context("When creating a pod with HostUsers", func() {
e2eskipper.SkipIfNodeOSDistroIs("windows")
containerName := "userns-test"
makePod := func(hostUsers bool) *v1.Pod {
return &v1.Pod{
@ -710,6 +712,8 @@ var _ = SIGDescribe("Security Context", func() {
})
var _ = SIGDescribe("User Namespaces for Pod Security Standards [LinuxOnly]", func() {
e2eskipper.SkipIfNodeOSDistroIs("windows")
f := framework.NewDefaultFramework("user-namespaces-pss-test")
f.NamespacePodSecurityLevel = admissionapi.LevelRestricted