File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ var _ = SIGDescribe("Security Context", func() {
66
66
})
67
67
68
68
ginkgo .Context ("When creating a pod with HostUsers" , func () {
69
- e2eskipper .SkipIfNodeOSDistroIs ("windows" )
69
+ ginkgo .BeforeEach (func () {
70
+ e2eskipper .SkipIfNodeOSDistroIs ("windows" )
71
+ })
70
72
71
73
containerName := "userns-test"
72
74
makePod := func (hostUsers bool ) * v1.Pod {
@@ -959,7 +961,9 @@ var _ = SIGDescribe("Security Context", func() {
959
961
})
960
962
961
963
var _ = SIGDescribe ("User Namespaces for Pod Security Standards [LinuxOnly]" , func () {
962
- e2eskipper .SkipIfNodeOSDistroIs ("windows" )
964
+ ginkgo .BeforeEach (func () {
965
+ e2eskipper .SkipIfNodeOSDistroIs ("windows" )
966
+ })
963
967
964
968
f := framework .NewDefaultFramework ("user-namespaces-pss-test" )
965
969
f .NamespacePodSecurityLevel = admissionapi .LevelRestricted
You can’t perform that action at this time.
0 commit comments