wait for instances in deleteDetachIGM test (#2759)

This commit is contained in:
The Magician 2018-12-28 08:44:23 -08:00 committed by Dana Hoffman
parent 7e829e0b10
commit d65a35062a

View File

@ -748,5 +748,9 @@ resource "google_compute_instance_group_manager" "manager" {
instance_template = "${google_compute_instance_template.template.self_link}"
zone = "us-central1-a"
target_size = 1
// block on instances being ready so that when they get deleted, we don't try
// to continue interacting with them in other resources
wait_for_instances = true
}`, diskName, mgrName)
}