Merge pull request #76174 from msau42/slow-e2es

Mark slow storage e2es
This commit is contained in:
Kubernetes Prow Robot 2019-04-04 19:37:19 -07:00 committed by GitHub
commit 73c1e35491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View File

@ -349,7 +349,7 @@ var _ = utils.SIGDescribe("CSI mock volume", func() {
}) })
Context("CSI volume limit information using mock driver", func() { Context("CSI volume limit information using mock driver", func() {
It("should report attach limit when limit is bigger than 0", func() { It("should report attach limit when limit is bigger than 0 [Slow]", func() {
// define volume limit to be 2 for this test // define volume limit to be 2 for this test
var err error var err error

View File

@ -23,7 +23,7 @@ import (
"time" "time"
"k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/wait" "k8s.io/apimachinery/pkg/util/wait"
clientset "k8s.io/client-go/kubernetes" clientset "k8s.io/client-go/kubernetes"
@ -62,7 +62,7 @@ var _ = utils.SIGDescribe("Detaching volumes", func() {
suffix = ns.Name suffix = ns.Name
}) })
It("should not work when mount is in progress", func() { It("should not work when mount is in progress [Slow]", func() {
driver := "attachable-with-long-mount" driver := "attachable-with-long-mount"
driverInstallAs := driver + "-" + suffix driverInstallAs := driver + "-" + suffix

View File

@ -28,7 +28,7 @@ import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
appsv1 "k8s.io/api/apps/v1" appsv1 "k8s.io/api/apps/v1"
"k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
storagev1 "k8s.io/api/storage/v1" storagev1 "k8s.io/api/storage/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors" apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/api/resource"
@ -261,14 +261,14 @@ var _ = utils.SIGDescribe("PersistentVolumes-local ", func() {
} }
}) })
It("should set fsGroup for one pod", func() { It("should set fsGroup for one pod [Slow]", func() {
By("Checking fsGroup is set") By("Checking fsGroup is set")
pod := createPodWithFsGroupTest(config, testVol, 1234, 1234) pod := createPodWithFsGroupTest(config, testVol, 1234, 1234)
By("Deleting pod") By("Deleting pod")
framework.DeletePodOrFail(config.client, config.ns, pod.Name) framework.DeletePodOrFail(config.client, config.ns, pod.Name)
}) })
It("should set same fsGroup for two pods simultaneously", func() { It("should set same fsGroup for two pods simultaneously [Slow]", func() {
fsGroup := int64(1234) fsGroup := int64(1234)
By("Create first pod and check fsGroup is set") By("Create first pod and check fsGroup is set")
pod1 := createPodWithFsGroupTest(config, testVol, fsGroup, fsGroup) pod1 := createPodWithFsGroupTest(config, testVol, fsGroup, fsGroup)

View File

@ -22,7 +22,7 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
"k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
clientset "k8s.io/client-go/kubernetes" clientset "k8s.io/client-go/kubernetes"
"k8s.io/kubernetes/test/e2e/framework" "k8s.io/kubernetes/test/e2e/framework"
@ -40,7 +40,7 @@ var _ TestSuite = &multiVolumeTestSuite{}
func InitMultiVolumeTestSuite() TestSuite { func InitMultiVolumeTestSuite() TestSuite {
return &multiVolumeTestSuite{ return &multiVolumeTestSuite{
tsInfo: TestSuiteInfo{ tsInfo: TestSuiteInfo{
name: "multiVolume", name: "multiVolume [Slow]",
testPatterns: []testpatterns.TestPattern{ testPatterns: []testpatterns.TestPattern{
testpatterns.FsVolModePreprovisionedPV, testpatterns.FsVolModePreprovisionedPV,
testpatterns.FsVolModeDynamicPV, testpatterns.FsVolModeDynamicPV,

View File

@ -372,7 +372,7 @@ func (s *subPathTestSuite) defineTests(driver TestDriver, pattern testpatterns.T
testReadFile(f, l.filePathInSubpath, l.pod, 0) testReadFile(f, l.filePathInSubpath, l.pod, 0)
}) })
It("should verify container cannot write to subpath readonly volumes", func() { It("should verify container cannot write to subpath readonly volumes [Slow]", func() {
init() init()
defer cleanup() defer cleanup()
if l.roVolSource == nil { if l.roVolSource == nil {

View File

@ -22,7 +22,7 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
storagev1 "k8s.io/api/storage/v1" storagev1 "k8s.io/api/storage/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
clientset "k8s.io/client-go/kubernetes" clientset "k8s.io/client-go/kubernetes"
@ -160,7 +160,7 @@ func (t *volumeModeTestSuite) defineTests(driver TestDriver, pattern testpattern
switch pattern.VolType { switch pattern.VolType {
case testpatterns.PreprovisionedPV: case testpatterns.PreprovisionedPV:
if pattern.VolMode == v1.PersistentVolumeBlock && !isBlockSupported { if pattern.VolMode == v1.PersistentVolumeBlock && !isBlockSupported {
It("should fail to create pod by failing to mount volume", func() { It("should fail to create pod by failing to mount volume [Slow]", func() {
init() init()
defer cleanup() defer cleanup()