From 4f1ed669d4b8d3de7ae64673a38bd565eb0e3d0b Mon Sep 17 00:00:00 2001 From: Otto Bittner Date: Mon, 17 Jul 2023 10:30:14 +0200 Subject: [PATCH] ci: increase autoscaling timeout to 25m (#2103) During testing on AWS SNP we can sometimes observe the scaling take longer than 15 mins due to slow setup times of SNP machines. Eventually the scaling works as expected. --- .github/actions/e2e_autoscaling/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/e2e_autoscaling/action.yml b/.github/actions/e2e_autoscaling/action.yml index 968a2fc0a..bf787100b 100644 --- a/.github/actions/e2e_autoscaling/action.yml +++ b/.github/actions/e2e_autoscaling/action.yml @@ -89,7 +89,7 @@ runs: env: KUBECONFIG: ${{ inputs.kubeconfig }} run: | - kubectl wait deployment nginx --for condition=available --timeout=15m + kubectl wait deployment nginx --for condition=available --timeout=25m worker_count=$(kubectl get nodes -o json --selector='!node-role.kubernetes.io/control-plane' | jq '.items | length') if [[ $(( "${{ steps.scaling_limit.outputs.worker_target }}" )) -ne $(( "${worker_count}" )) ]]; then echo "::error::Expected worker count ${{ steps.scaling_limit.outputs.worker_target }}, but was ${worker_count}"