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
e502ca46
Commit
e502ca46
authored
May 03, 2019
by
Jordan Liggitt
Committed by
Yu-Ju Hong
May 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expect the correct object type to be removed
parent
3a208b68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
generic-resources.sh
test/cmd/generic-resources.sh
+1
-1
No files found.
test/cmd/generic-resources.sh
View file @
e502ca46
...
@@ -378,7 +378,7 @@ run_recursive_resources_tests() {
...
@@ -378,7 +378,7 @@ run_recursive_resources_tests() {
# Command
# Command
output_message
=
$(
!
kubectl delete
-f
hack/testdata/recursive/rc
--recursive
--grace-period
=
0
--force
2>&1
"
${
kube_flags
[@]
}
"
)
output_message
=
$(
!
kubectl delete
-f
hack/testdata/recursive/rc
--recursive
--grace-period
=
0
--force
2>&1
"
${
kube_flags
[@]
}
"
)
# Post-condition: busybox0 & busybox1 replication controllers are deleted, and since busybox2 is malformed, it should error
# Post-condition: busybox0 & busybox1 replication controllers are deleted, and since busybox2 is malformed, it should error
kube::test::get_object_assert
pods
"{{range.items}}{{
$id_field
}}:{{end}}"
''
kube::test::get_object_assert
rc
"{{range.items}}{{
$id_field
}}:{{end}}"
''
kube::test::if_has_string
"
${
output_message
}
"
"Object 'Kind' is missing"
kube::test::if_has_string
"
${
output_message
}
"
"Object 'Kind' is missing"
### Rollout on multiple deployments recursively
### Rollout on multiple deployments recursively
...
...
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