mirror of https://github.com/k3s-io/k3s
Merge pull request #68908 from msau42/add-slow
Move storage tests that take longer than 2 minutes to slow suitepull/58/head
commit
25b3ec6c62
|
@ -535,7 +535,7 @@ var _ = utils.SIGDescribe("PersistentVolumes-local ", func() {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
Context("StatefulSet with pod affinity", func() {
|
Context("StatefulSet with pod affinity [Slow]", func() {
|
||||||
var testVols map[string][]*localTestVolume
|
var testVols map[string][]*localTestVolume
|
||||||
const (
|
const (
|
||||||
ssReplicas = 3
|
ssReplicas = 3
|
||||||
|
|
|
@ -312,7 +312,7 @@ var _ = utils.SIGDescribe("PersistentVolumes", func() {
|
||||||
framework.DeleteAllStatefulSets(c, ns)
|
framework.DeleteAllStatefulSets(c, ns)
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should be reschedulable", func() {
|
It("should be reschedulable [Slow]", func() {
|
||||||
// Only run on providers with default storageclass
|
// Only run on providers with default storageclass
|
||||||
framework.SkipUnlessProviderIs("openstack", "gce", "gke", "vsphere", "azure")
|
framework.SkipUnlessProviderIs("openstack", "gce", "gke", "vsphere", "azure")
|
||||||
|
|
||||||
|
|
|
@ -360,7 +360,7 @@ func testSubPath(input *subPathTestInput) {
|
||||||
testReadFile(input.f, input.filePathInSubpath, input.pod, 0)
|
testReadFile(input.f, input.filePathInSubpath, input.pod, 0)
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should fail for new directories when readOnly specified in the volumeSource", func() {
|
It("should fail for new directories when readOnly specified in the volumeSource [Slow]", func() {
|
||||||
if input.roVol == nil {
|
if input.roVol == nil {
|
||||||
framework.Skipf("Volume type %v doesn't support readOnly source", input.volType)
|
framework.Skipf("Volume type %v doesn't support readOnly source", input.volType)
|
||||||
}
|
}
|
||||||
|
|
|
@ -360,7 +360,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() {
|
||||||
ns = f.Namespace.Name
|
ns = f.Namespace.Name
|
||||||
})
|
})
|
||||||
|
|
||||||
Describe("DynamicProvisioner", func() {
|
Describe("DynamicProvisioner [Slow]", func() {
|
||||||
It("should provision storage with different parameters", func() {
|
It("should provision storage with different parameters", func() {
|
||||||
cloudZone := getRandomCloudZone(c)
|
cloudZone := getRandomCloudZone(c)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue