Skip to content

Commit 6938ac2

Browse files
handling review 3
1 parent 8d7d4a9 commit 6938ac2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tools/cloud-build/find_available_zone.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,6 @@ for PROVISIONING_MODEL in "${PROVISIONING_MODELS[@]}"; do
204204
echo "INFO: Trying provisioning model: ${PROVISIONING_MODEL}"
205205

206206
for ZONE in "${ZONES_ARRAY[@]}"; do
207-
# >>> START Modification: Simulate SPOT failure in us-central1-a <<<
208-
if [[ "${PROVISIONING_MODEL}" == "SPOT" && "${ZONE}" == "us-central1-a" ]]; then
209-
echo "INFO: Simulating SPOT capacity failure in ${ZONE} for testing purposes."
210-
cleanup_vm_instances "${PROJECT_ID}" "${ZONE}" "${FULL_INSTANCE_PREFIX}"
211-
continue # Skip to the next zone/model
212-
fi
213-
# >>> END Modification <<<
214207
if [[ "${MACHINE_TYPE}" == "tpu" ]]; then
215208
if check_tpu_capacity "${ZONE}" "${PROVISIONING_MODEL}"; then
216209
SELECTED_ZONE="${ZONE}"

0 commit comments

Comments
 (0)