Skip to content

Commit

Permalink
Move several tests to the slow suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
spxtr committed Aug 30, 2016
1 parent 79c7d4b commit 8c22e34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/e2e/batch_v1_jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/scheduledjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/volume_provisioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit 8c22e34

Please sign in to comment.