Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
8c22e343
Commit
8c22e343
authored
Aug 29, 2016
by
Joe Finney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move several tests to the slow suite.
parent
79c7d4b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
batch_v1_jobs.go
test/e2e/batch_v1_jobs.go
+1
-1
scheduledjob.go
test/e2e/scheduledjob.go
+2
-2
volume_provisioning.go
test/e2e/volume_provisioning.go
+2
-2
No files found.
test/e2e/batch_v1_jobs.go
View file @
8c22e343
...
@@ -188,7 +188,7 @@ var _ = framework.KubeDescribe("V1Job", func() {
...
@@ -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
)
...
...
test/e2e/scheduledjob.go
View file @
8c22e343
...
@@ -77,7 +77,7 @@ var _ = framework.KubeDescribe("ScheduledJob", func() {
...
@@ -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() {
...
@@ -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
)
...
...
test/e2e/volume_provisioning.go
View file @
8c22e343
...
@@ -114,7 +114,7 @@ var _ = framework.KubeDescribe("Dynamic provisioning", func() {
...
@@ -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() {
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment