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
26c0fe32
Commit
26c0fe32
authored
Feb 07, 2017
by
Madhusudan.C.S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup federation components and wait for it only once in a test cycle.
parent
d4bcf3ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
e2e-down.sh
hack/e2e-internal/e2e-down.sh
+5
-4
No files found.
hack/e2e-internal/e2e-down.sh
View file @
26c0fe32
...
@@ -31,10 +31,7 @@ prepare-e2e
...
@@ -31,10 +31,7 @@ prepare-e2e
if
[[
"
${
FEDERATION
:-}
"
==
"true"
]]
;
then
if
[[
"
${
FEDERATION
:-}
"
==
"true"
]]
;
then
source
"
${
KUBE_ROOT
}
/federation/cluster/common.sh"
source
"
${
KUBE_ROOT
}
/federation/cluster/common.sh"
for
zone
in
${
E2E_ZONES
}
;
do
# bring down an e2e cluster
(
set-federation-zone-vars
"
$zone
"
cleanup-federation-api-objects
||
echo
"Couldn't cleanup federation api objects"
cleanup-federation-api-objects
||
echo
"Couldn't cleanup federation api objects"
# TODO(madhusudancs): This is an arbitrary amount of sleep to give Kubernetes
# TODO(madhusudancs): This is an arbitrary amount of sleep to give Kubernetes
...
@@ -46,6 +43,10 @@ if [[ "${FEDERATION:-}" == "true" ]];then
...
@@ -46,6 +43,10 @@ if [[ "${FEDERATION:-}" == "true" ]];then
# `AfterEach` blocks.
# `AfterEach` blocks.
sleep
2m
sleep
2m
for
zone
in
${
E2E_ZONES
}
;
do
# bring down an e2e cluster
(
set-federation-zone-vars
"
$zone
"
test-teardown
test-teardown
)
)
done
done
...
...
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