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
c52a27f4
Commit
c52a27f4
authored
Mar 01, 2019
by
globervinodhn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promote job deletion in the namespace e2e to conformance - version updated to v1.15
parent
983cf51c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
conformance.txt
test/conformance/testdata/conformance.txt
+1
-0
job.go
test/e2e/apps/job.go
+6
-1
No files found.
test/conformance/testdata/conformance.txt
View file @
c52a27f4
...
...
@@ -23,6 +23,7 @@ test/e2e/apps/deployment.go: "RecreateDeployment should delete old pods and crea
test/e2e/apps/deployment.go: "deployment should delete old replica sets"
test/e2e/apps/deployment.go: "deployment should support rollover"
test/e2e/apps/deployment.go: "deployment should support proportional scaling"
test/e2e/apps/job.go: "should delete a job"
test/e2e/apps/rc.go: "should serve a basic image on each replica with a public image"
test/e2e/apps/rc.go: "should adopt matching pods on creation"
test/e2e/apps/rc.go: "should release no longer matching pods"
...
...
test/e2e/apps/job.go
View file @
c52a27f4
...
...
@@ -99,7 +99,12 @@ var _ = SIGDescribe("Job", func() {
Expect
(
err
)
.
NotTo
(
HaveOccurred
(),
"failed to ensure job past active deadline in namespace: %s"
,
f
.
Namespace
.
Name
)
})
It
(
"should delete a job"
,
func
()
{
/*
Release : v1.15
Testname: Jobs, active pods, graceful termination
Description: Create a job. Ensure the active pods reflect paralellism in the namespace and delete the job. Job MUST be deleted successfully.
*/
framework
.
ConformanceIt
(
"should delete a job"
,
func
()
{
By
(
"Creating a job"
)
job
:=
framework
.
NewTestJob
(
"notTerminate"
,
"foo"
,
v1
.
RestartPolicyNever
,
parallelism
,
completions
,
nil
,
backoffLimit
)
job
,
err
:=
framework
.
CreateJob
(
f
.
ClientSet
,
f
.
Namespace
.
Name
,
job
)
...
...
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