mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #131054 from jsturtevant/fix-up-ginkgo-skips
[sig-windows] Ginkgo skip needs to run inside leaf node otherwise it panics
This commit is contained in:
commit
ef838fcc3f
@ -66,7 +66,9 @@ var _ = SIGDescribe("Security Context", func() {
|
||||
})
|
||||
|
||||
ginkgo.Context("When creating a pod with HostUsers", func() {
|
||||
e2eskipper.SkipIfNodeOSDistroIs("windows")
|
||||
ginkgo.BeforeEach(func() {
|
||||
e2eskipper.SkipIfNodeOSDistroIs("windows")
|
||||
})
|
||||
|
||||
containerName := "userns-test"
|
||||
makePod := func(hostUsers bool) *v1.Pod {
|
||||
@ -959,7 +961,9 @@ var _ = SIGDescribe("Security Context", func() {
|
||||
})
|
||||
|
||||
var _ = SIGDescribe("User Namespaces for Pod Security Standards [LinuxOnly]", func() {
|
||||
e2eskipper.SkipIfNodeOSDistroIs("windows")
|
||||
ginkgo.BeforeEach(func() {
|
||||
e2eskipper.SkipIfNodeOSDistroIs("windows")
|
||||
})
|
||||
|
||||
f := framework.NewDefaultFramework("user-namespaces-pss-test")
|
||||
f.NamespacePodSecurityLevel = admissionapi.LevelRestricted
|
||||
|
Loading…
Reference in New Issue
Block a user