@@ -36,6 +36,9 @@ func TestAccNetappBackup_NetappBackupFull_update(t *testing.T) {
36
36
PreCheck : func () { acctest .AccTestPreCheck (t ) },
37
37
ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories (t ),
38
38
CheckDestroy : testAccCheckNetappBackupDestroyProducer (t ),
39
+ ExternalProviders : map [string ]resource.ExternalProvider {
40
+ "time" : {},
41
+ },
39
42
Steps : []resource.TestStep {
40
43
{
41
44
Config : testAccNetappBackup_NetappBackupFromVolumeSnapshot (context ),
@@ -73,6 +76,11 @@ resource "google_netapp_storage_pool" "default" {
73
76
network = data.google_compute_network.default.id
74
77
}
75
78
79
+ resource "time_sleep" "wait_3_minutes" {
80
+ depends_on = [google_netapp_storage_pool.default]
81
+ create_duration = "3m"
82
+ }
83
+
76
84
resource "google_netapp_volume" "default" {
77
85
name = "tf-test-backup-volume%{random_suffix}"
78
86
location = google_netapp_storage_pool.default.location
@@ -132,6 +140,11 @@ resource "google_netapp_storage_pool" "default" {
132
140
network = data.google_compute_network.default.id
133
141
}
134
142
143
+ resource "time_sleep" "wait_3_minutes" {
144
+ depends_on = [google_netapp_storage_pool.default]
145
+ create_duration = "3m"
146
+ }
147
+
135
148
resource "google_netapp_volume" "default" {
136
149
name = "tf-test-backup-volume%{random_suffix}"
137
150
location = google_netapp_storage_pool.default.location
0 commit comments