mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 23:49:37 -05:00
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.
This commit is contained in:
parent
08e790b8fd
commit
4f1ed669d4
2
.github/actions/e2e_autoscaling/action.yml
vendored
2
.github/actions/e2e_autoscaling/action.yml
vendored
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user