mirror of https://github.com/k3s-io/k3s
Move several tests to the slow suite.
parent
79c7d4b36e
commit
8c22e34306
|
@ -188,7 +188,7 @@ var _ = framework.KubeDescribe("V1Job", func() {
|
|||
Expect(errors.IsNotFound(err)).To(BeTrue())
|
||||
})
|
||||
|
||||
It("should fail a job", func() {
|
||||
It("should fail a job [Slow]", func() {
|
||||
By("Creating a job")
|
||||
job := newTestV1Job("notTerminate", "foo", api.RestartPolicyNever, parallelism, completions)
|
||||
activeDeadlineSeconds := int64(10)
|
||||
|
|
|
@ -77,7 +77,7 @@ var _ = framework.KubeDescribe("ScheduledJob", func() {
|
|||
})
|
||||
|
||||
// suspended should not schedule jobs
|
||||
It("should not schedule jobs when suspended", func() {
|
||||
It("should not schedule jobs when suspended [Slow]", func() {
|
||||
By("Creating a suspended scheduledjob")
|
||||
scheduledJob := newTestScheduledJob("suspended", "*/1 * * * ?", batch.AllowConcurrent, true)
|
||||
scheduledJob.Spec.Suspend = newBool(true)
|
||||
|
@ -99,7 +99,7 @@ var _ = framework.KubeDescribe("ScheduledJob", func() {
|
|||
})
|
||||
|
||||
// only single active job is allowed for ForbidConcurrent
|
||||
It("should not schedule new jobs when ForbidConcurrent", func() {
|
||||
It("should not schedule new jobs when ForbidConcurrent [Slow]", func() {
|
||||
By("Creating a ForbidConcurrent scheduledjob")
|
||||
scheduledJob := newTestScheduledJob("forbid", "*/1 * * * ?", batch.ForbidConcurrent, true)
|
||||
scheduledJob, err := createScheduledJob(f.Client, f.Namespace.Name, scheduledJob)
|
||||
|
|
|
@ -114,7 +114,7 @@ var _ = framework.KubeDescribe("Dynamic provisioning", func() {
|
|||
})
|
||||
|
||||
framework.KubeDescribe("DynamicProvisioner", func() {
|
||||
It("should create and delete persistent volumes", func() {
|
||||
It("should create and delete persistent volumes [Slow]", func() {
|
||||
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke")
|
||||
|
||||
By("creating a StorageClass")
|
||||
|
@ -136,7 +136,7 @@ var _ = framework.KubeDescribe("Dynamic provisioning", func() {
|
|||
})
|
||||
|
||||
framework.KubeDescribe("DynamicProvisioner Alpha", func() {
|
||||
It("should create and delete alpha persistent volumes", func() {
|
||||
It("should create and delete alpha persistent volumes [Slow]", func() {
|
||||
framework.SkipUnlessProviderIs("openstack", "gce", "aws", "gke")
|
||||
|
||||
By("creating a claim with an alpha dynamic provisioning annotation")
|
||||
|
|
Loading…
Reference in New Issue