mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
parent
6c15604ccb
commit
9257b58e68
@ -31,6 +31,4 @@ source "${KUBE_VERSION_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
|
|||||||
|
|
||||||
prepare-e2e
|
prepare-e2e
|
||||||
|
|
||||||
while true; do
|
${KUBECTL} get minions --no-headers | wc -l
|
||||||
${KUBECTL} --watch-only get events
|
|
||||||
done
|
|
||||||
|
@ -31,4 +31,6 @@ source "${KUBE_VERSION_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
|
|||||||
|
|
||||||
prepare-e2e
|
prepare-e2e
|
||||||
|
|
||||||
${KUBECTL} get minions --no-headers | wc -l
|
while true; do
|
||||||
|
${KUBECTL} --watch-only get events
|
||||||
|
done
|
||||||
|
@ -184,7 +184,7 @@ func Up() bool {
|
|||||||
// Ensure that the cluster is large engough to run the e2e tests.
|
// Ensure that the cluster is large engough to run the e2e tests.
|
||||||
func ValidateClusterSize() {
|
func ValidateClusterSize() {
|
||||||
// Check that there are at least 3 minions running
|
// Check that there are at least 3 minions running
|
||||||
res, stdout, _ := finishRunningWithOutputs("validate cluster size", exec.Command(path.Join(*root, "hack/e2e-internal/e2e-watch-events.sh")))
|
res, stdout, _ := finishRunningWithOutputs("validate cluster size", exec.Command(path.Join(*root, "hack/e2e-internal/e2e-cluster-size.sh")))
|
||||||
if !res {
|
if !res {
|
||||||
log.Fatal("Could not get nodes to validate cluster size")
|
log.Fatal("Could not get nodes to validate cluster size")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user