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