mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
use LinuxOnly annotation instead of e2eskipper to skip windows tests
This commit is contained in:
parent
55bed0bb66
commit
1e1252ed8c
@ -316,7 +316,12 @@ var _ = utils.SIGDescribe("PersistentVolumes", func() {
|
||||
})
|
||||
})
|
||||
|
||||
ginkgo.Describe("Default StorageClass", func() {
|
||||
// testsuites/multivolume tests can now run with windows nodes
|
||||
// This test is not compatible with windows because the default StorageClass
|
||||
// doesn't have the ntfs parameter, we can't change the status of the cluster
|
||||
// to add a StorageClass that's compatible with windows which is also the
|
||||
// default StorageClass
|
||||
ginkgo.Describe("Default StorageClass [LinuxOnly]", func() {
|
||||
ginkgo.Context("pods that use multiple volumes", func() {
|
||||
|
||||
ginkgo.AfterEach(func() {
|
||||
@ -326,12 +331,6 @@ var _ = utils.SIGDescribe("PersistentVolumes", func() {
|
||||
ginkgo.It("should be reschedulable [Slow]", func() {
|
||||
// Only run on providers with default storageclass
|
||||
e2eskipper.SkipUnlessProviderIs("openstack", "gce", "gke", "vsphere", "azure")
|
||||
// testsuites/multivolume tests can now run with windows nodes
|
||||
// This test is not compatible with windows because the default StorageClass
|
||||
// doesn't have the ntfs parameter, we can't change the status of the cluster
|
||||
// to add a StorageClass that's compatible with windows which is also the
|
||||
// default StorageClass
|
||||
e2eskipper.SkipIfNodeOSDistroIs("windows")
|
||||
|
||||
numVols := 4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user