mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Cleanup federation components and wait for it only once in a test cycle.
This commit is contained in:
parent
d4bcf3ede5
commit
26c0fe32d0
@ -31,10 +31,7 @@ prepare-e2e
|
||||
|
||||
if [[ "${FEDERATION:-}" == "true" ]];then
|
||||
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"
|
||||
|
||||
# TODO(madhusudancs): This is an arbitrary amount of sleep to give Kubernetes
|
||||
@ -46,6 +43,10 @@ if [[ "${FEDERATION:-}" == "true" ]];then
|
||||
# `AfterEach` blocks.
|
||||
sleep 2m
|
||||
|
||||
for zone in ${E2E_ZONES};do
|
||||
# bring down an e2e cluster
|
||||
(
|
||||
set-federation-zone-vars "$zone"
|
||||
test-teardown
|
||||
)
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user