From b1594f3cd139c31bac220c814c121e3d7136fdc4 Mon Sep 17 00:00:00 2001 From: Michelle Au Date: Thu, 20 Sep 2018 15:29:00 -0700 Subject: [PATCH] Move storage tests that take longer than 2 minutes to slow suite --- test/e2e/storage/persistent_volumes-local.go | 2 +- test/e2e/storage/persistent_volumes.go | 2 +- test/e2e/storage/testsuites/subpath.go | 2 +- test/e2e/storage/volume_provisioning.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/storage/persistent_volumes-local.go b/test/e2e/storage/persistent_volumes-local.go index 4e0c0c367e..e5238b173b 100644 --- a/test/e2e/storage/persistent_volumes-local.go +++ b/test/e2e/storage/persistent_volumes-local.go @@ -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 const ( ssReplicas = 3 diff --git a/test/e2e/storage/persistent_volumes.go b/test/e2e/storage/persistent_volumes.go index 35342d4390..b47de3433c 100644 --- a/test/e2e/storage/persistent_volumes.go +++ b/test/e2e/storage/persistent_volumes.go @@ -312,7 +312,7 @@ var _ = utils.SIGDescribe("PersistentVolumes", func() { framework.DeleteAllStatefulSets(c, ns) }) - It("should be reschedulable", func() { + It("should be reschedulable [Slow]", func() { // Only run on providers with default storageclass framework.SkipUnlessProviderIs("openstack", "gce", "gke", "vsphere", "azure") diff --git a/test/e2e/storage/testsuites/subpath.go b/test/e2e/storage/testsuites/subpath.go index 8c04a90879..e7bc6dbde7 100644 --- a/test/e2e/storage/testsuites/subpath.go +++ b/test/e2e/storage/testsuites/subpath.go @@ -360,7 +360,7 @@ func testSubPath(input *subPathTestInput) { 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 { framework.Skipf("Volume type %v doesn't support readOnly source", input.volType) } diff --git a/test/e2e/storage/volume_provisioning.go b/test/e2e/storage/volume_provisioning.go index 5d930b8c34..c75988a637 100644 --- a/test/e2e/storage/volume_provisioning.go +++ b/test/e2e/storage/volume_provisioning.go @@ -360,7 +360,7 @@ var _ = utils.SIGDescribe("Dynamic Provisioning", func() { ns = f.Namespace.Name }) - Describe("DynamicProvisioner", func() { + Describe("DynamicProvisioner [Slow]", func() { It("should provision storage with different parameters", func() { cloudZone := getRandomCloudZone(c)