Skip to content

Commit c11077f

Browse files
committed
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 <[email protected]>
1 parent c348bd1 commit c11077f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/e2e/common/node/security_context.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ var _ = SIGDescribe("Security Context", func() {
6060
})
6161

6262
ginkgo.Context("When creating a pod with HostUsers", func() {
63+
e2eskipper.SkipIfNodeOSDistroIs("windows")
64+
6365
containerName := "userns-test"
6466
makePod := func(hostUsers bool) *v1.Pod {
6567
return &v1.Pod{
@@ -710,6 +712,8 @@ var _ = SIGDescribe("Security Context", func() {
710712
})
711713

712714
var _ = SIGDescribe("User Namespaces for Pod Security Standards [LinuxOnly]", func() {
715+
e2eskipper.SkipIfNodeOSDistroIs("windows")
716+
713717
f := framework.NewDefaultFramework("user-namespaces-pss-test")
714718
f.NamespacePodSecurityLevel = admissionapi.LevelRestricted
715719

0 commit comments

Comments
 (0)