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
d4df8879
Commit
d4df8879
authored
Feb 22, 2019
by
Thomas Runyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call kube:test:clear_all during cleanup
parent
a502b963
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
legacy-script.sh
test/cmd/legacy-script.sh
+4
-4
No files found.
test/cmd/legacy-script.sh
View file @
d4df8879
...
@@ -386,8 +386,8 @@ runTests() {
...
@@ -386,8 +386,8 @@ runTests() {
kubectl get
"
${
kube_flags
[@]
}
"
-f
hack/testdata/kubernetes-service.yaml
kubectl get
"
${
kube_flags
[@]
}
"
-f
hack/testdata/kubernetes-service.yaml
fi
fi
cleanup
(){
cleanup
_tests
(){
kube::test::clear_all
kube::test::clear_all
if
[[
-n
"
${
foundError
}
"
]]
;
then
if
[[
-n
"
${
foundError
}
"
]]
;
then
echo
"FAILED TESTS: ""
${
foundError
}
"
echo
"FAILED TESTS: ""
${
foundError
}
"
exit
1
exit
1
...
@@ -399,7 +399,7 @@ runTests() {
...
@@ -399,7 +399,7 @@ runTests() {
do
do
record_command run_
${
pkg
}
_tests
record_command run_
${
pkg
}
_tests
done
done
cleanup
cleanup
_tests
return
return
fi
fi
...
@@ -866,5 +866,5 @@ runTests() {
...
@@ -866,5 +866,5 @@ runTests() {
record_command run_wait_tests
record_command run_wait_tests
cleanup
cleanup
_tests
}
}
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