File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -272,6 +272,9 @@ func TestAccNetappBackup_NetappIntegratedBackup(t *testing.T) {
272
272
PreCheck : func () { acctest .AccTestPreCheck (t ) },
273
273
ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories (t ),
274
274
CheckDestroy : testAccCheckNetappBackupDestroyProducer (t ),
275
+ ExternalProviders : map [string ]resource.ExternalProvider {
276
+ "time" : {},
277
+ },
275
278
Steps : []resource.TestStep {
276
279
{
277
280
Config : testAccNetappBackup_IntegratedBackup (context ),
@@ -298,6 +301,10 @@ resource "google_netapp_storage_pool" "default" {
298
301
capacity_gib = "2048"
299
302
network = data.google_compute_network.default.id
300
303
}
304
+ resource "time_sleep" "wait_3_minutes" {
305
+ depends_on = [google_netapp_storage_pool.default]
306
+ create_duration = "3m"
307
+ }
301
308
resource "google_netapp_volume" "default" {
302
309
name = "tf-test-backup-volume%{random_suffix}"
303
310
location = google_netapp_storage_pool.default.location
Original file line number Diff line number Diff line change @@ -721,6 +721,10 @@ resource "google_netapp_storage_pool" "default" {
721
721
network = data.google_compute_network.default.id
722
722
allow_auto_tiering = true
723
723
}
724
+ resource "time_sleep" "wait_3_minutes" {
725
+ depends_on = [google_netapp_storage_pool.default]
726
+ create_duration = "3m"
727
+ }
724
728
resource "google_netapp_volume" "test_volume" {
725
729
location = "us-west4"
726
730
name = "tf-test-volume%{random_suffix}"
@@ -749,7 +753,10 @@ resource "google_netapp_storage_pool" "default" {
749
753
network = data.google_compute_network.default.id
750
754
allow_auto_tiering = true
751
755
}
752
-
756
+ resource "time_sleep" "wait_3_minutes" {
757
+ depends_on = [google_netapp_storage_pool.default]
758
+ create_duration = "3m"
759
+ }
753
760
resource "google_netapp_volume" "test_volume" {
754
761
location = "us-west4"
755
762
name = "tf-test-volume%{random_suffix}"
You can’t perform that action at this time.
0 commit comments