Skip to content

Commit 8970bb1

Browse files
make TestAccFilestoreInstance_replication sweepable (#13005) (#21314)
[upstream:0641544b9f32658ab723d41493cea9a6d02de1e8] Signed-off-by: Modular Magician <[email protected]>
1 parent 1b7b066 commit 8970bb1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.changelog/13005.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/services/filestore/resource_filestore_instance_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ func TestAccFilestoreInstance_replication(t *testing.T) {
468468

469469
context := map[string]interface{}{
470470
"random_suffix": acctest.RandString(t, 10),
471-
"location_1": "us-central1",
471+
"location_1": "us-east1",
472472
"location_2": "us-west1",
473473
"tier": "ENTERPRISE",
474474
}
@@ -493,7 +493,7 @@ func TestAccFilestoreInstance_replication(t *testing.T) {
493493
func testAccFilestoreInstance_replication(context map[string]interface{}) string {
494494
return acctest.Nprintf(`
495495
resource "google_filestore_instance" "instance" {
496-
name = "tf-instance-%{random_suffix}"
496+
name = "tf-test-instance-%{random_suffix}"
497497
location = "%{location_1}"
498498
tier = "%{tier}"
499499
description = "An instance created during testing."
@@ -510,7 +510,7 @@ resource "google_filestore_instance" "instance" {
510510
}
511511
512512
resource "google_filestore_instance" "replica-instance" {
513-
name = "tf-rinstance-%{random_suffix}"
513+
name = "tf-test-instance-%{random_suffix}"
514514
location = "%{location_2}"
515515
tier = "%{tier}"
516516
description = "An replica instance created during testing."

0 commit comments

Comments
 (0)