Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(hcc): select a ready gateway pod in bootstrap gate
Alfredo Lopez0bed25cda3e1
diff --git a/scripts/e2e/e2e-hcc-readiness-bootstrap.sh b/scripts/e2e/e2e-hcc-readiness-bootstrap.shindex 7386eb561..134400a7b 100755--- a/scripts/e2e/e2e-hcc-readiness-bootstrap.sh+++ b/scripts/e2e/e2e-hcc-readiness-bootstrap.sh@@ -205,7 +205,7 @@ probe_hcc_ready_pod() {}running_hcc_gateway_pod() {- running_pod_name "$HCC_NS" "app=${HCC_GATEWAY_DEPLOY}"+ ready_pod_name "$HCC_NS" "app=${HCC_GATEWAY_DEPLOY}"}hcc_gateway_deployment_ready() {diff --git a/scripts/tests/test-hcc-api-gateway-readiness.sh b/scripts/tests/test-hcc-api-gateway-readiness.shindex 6623ff56e..0b16b3844 100644--- a/scripts/tests/test-hcc-api-gateway-readiness.sh+++ b/scripts/tests/test-hcc-api-gateway-readiness.sh@@ -71,6 +71,15 @@ runtime_hold_function="$(unavailable_probe_function="$(sed -n '/^hcc_gateway_ready_proxy_unavailable() {$/,/^}$/p' "${BOOTSTRAP_E2E}")"+gateway_pod_function="$(+ sed -n '/^running_hcc_gateway_pod() {$/,/^}$/p' "${BOOTSTRAP_E2E}"+)"+if [[ "${gateway_pod_function}" != *'ready_pod_name "$HCC_NS" "app=${HCC_GATEWAY_DEPLOY}"'* ]] ||+ [[ "${gateway_pod_function}" == *'running_pod_name'* ]]; then+ fail "gateway runtime proof must select a Ready pod through the shared E2E helper"+fi+echo "PASS: gateway runtime proof selects a Ready pod through the shared helper"+if [[ "${runtime_hold_function}" != *'hcc_gateway_deployment_ready'* ]] ||[[ "${runtime_hold_function}" != *'hcc_gateway_local_health_ok'* ]] ||[[ "${runtime_hold_function}" != *'hcc_gateway_ready_proxy_unavailable'* ]] ||