From 260f24d0d19c04ffdcce3e4f95b3532d5dea27c0 Mon Sep 17 00:00:00 2001 From: Niall Thomson Date: Tue, 10 Dec 2024 20:46:36 -0700 Subject: [PATCH] chore: Improve fargate test reliability --- website/docs/fundamentals/fargate/tests/hook-enabling.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/fundamentals/fargate/tests/hook-enabling.sh b/website/docs/fundamentals/fargate/tests/hook-enabling.sh index 80daf446e..32dda7c97 100644 --- a/website/docs/fundamentals/fargate/tests/hook-enabling.sh +++ b/website/docs/fundamentals/fargate/tests/hook-enabling.sh @@ -3,6 +3,9 @@ before() { } after() { + aws eks wait fargate-profile-active --cluster-name ${EKS_CLUSTER_NAME} \ + --fargate-profile-name checkout-profile + check=$(kubectl get po -n checkout -l app.kubernetes.io/instance=checkout,app.kubernetes.io/component=service -o json | jq -r '.items[0].spec.nodeName' | grep 'fargate' || true) if [ -z "$check" ]; then