mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 18:27:49 +00:00
Merge pull request #31658 from spxtr/slow-tests
Automatic merge from submit-queue Move several tests to the slow suite. https://k8s-testgrid.appspot.com/google-gce#gce&width=5&graph-metrics=test-duration-minutes ref https://github.com/kubernetes/contrib/issues/1522
This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user