From 59b22315bfb1ee2b85ee91293166f9915c6cf8f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20Suszy=C5=84ski?= Date: Tue, 5 Sep 2023 19:27:42 +0200 Subject: [PATCH] Default E2E_CLUSTER_REGION us-central1 to simplify unit testing --- infra-library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra-library.sh b/infra-library.sh index 4782d09a..adc37efe 100644 --- a/infra-library.sh +++ b/infra-library.sh @@ -157,7 +157,7 @@ function create_gke_test_cluster() { --v=1 \ --network=e2e-network \ --boskos-acquire-timeout-seconds=1200 \ - --region="${E2E_CLUSTER_REGION},us-east1,us-west1" \ + --region="${E2E_CLUSTER_REGION:-us-central1},us-east1,us-west1" \ --gcloud-extra-flags="${_extra_gcloud_flags[*]}" \ --retryable-error-patterns='.*does not have enough resources available to fulfill.*,.*only \\d+ nodes out of \\d+ have registered; this is likely due to Nodes failing to start correctly.*,.*All cluster resources were brought up.+ but: component .+ from endpoint .+ is unhealthy.*' \ --test=exec \