From 9090d3f18b1c3c7eeecc784c14ca5ec516dfed47 Mon Sep 17 00:00:00 2001 From: Zhenhua Li Date: Sat, 16 Sep 2023 16:04:37 -0700 Subject: [PATCH] Rename network names --- .../sql/resource_sql_database_instance_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go b/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go index c2cdb1526a63..807b03f999a8 100644 --- a/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go +++ b/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go @@ -179,7 +179,7 @@ func TestAccSqlDatabaseInstance_deleteDefaultUserBeforeSubsequentApiCalls(t *tes databaseName := "tf-test-" + acctest.RandString(t, 10) addressName := "tf-test-" + acctest.RandString(t, 10) - networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-private-network-clone-2") + networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance") // 1. Create an instance. // 2. Add a root@'%' user. @@ -737,7 +737,7 @@ func TestAccSqlDatabaseInstance_withPrivateNetwork_withoutAllocatedIpRange(t *te databaseName := "tf-test-" + acctest.RandString(t, 10) addressName := "tf-test-" + acctest.RandString(t, 10) - networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-private-network") + networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance") acctest.VcrTest(t, resource.TestCase{ PreCheck: func() { acctest.AccTestPreCheck(t) }, @@ -964,15 +964,15 @@ func TestAccSqlDatabaseInstance_withPSCEnabled_withIpV4Enabled(t *testing.T) { }) } -func TestAccSqlDatabaseInstance_withPrivateNetwork_withAllocatedIpRange1(t *testing.T) { +func TestAccSqlDatabaseInstance_withPrivateNetwork_withAllocatedIpRange(t *testing.T) { t.Parallel() databaseName := "tf-test-" + acctest.RandString(t, 10) addressName := "tf-test-" + acctest.RandString(t, 10) - networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-private-network-allocated") + networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance") addressName_update := "tf-test-" + acctest.RandString(t, 10) + "update" - networkName_update := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-private-network-allocated-update") + networkName_update := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-update") acctest.VcrTest(t, resource.TestCase{ PreCheck: func() { acctest.AccTestPreCheck(t) }, @@ -1007,7 +1007,7 @@ func TestAccSqlDatabaseInstance_withPrivateNetwork_withAllocatedIpRangeReplica(t databaseName := "tf-test-" + acctest.RandString(t, 10) addressName := "tf-test-" + acctest.RandString(t, 10) - networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-private-network-replica") + networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance") acctest.VcrTest(t, resource.TestCase{ PreCheck: func() { acctest.AccTestPreCheck(t) }, @@ -1039,7 +1039,7 @@ func TestAccSqlDatabaseInstance_withPrivateNetwork_withAllocatedIpRangeClone(t * databaseName := "tf-test-" + acctest.RandString(t, 10) addressName := "tf-test-" + acctest.RandString(t, 10) - networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-private-network-clone") + networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance") acctest.VcrTest(t, resource.TestCase{ PreCheck: func() { acctest.AccTestPreCheck(t) }, @@ -1439,7 +1439,7 @@ func TestAccSqlDatabaseInstance_ActiveDirectory(t *testing.T) { t.Parallel() databaseName := "tf-test-" + acctest.RandString(t, 10) - networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance-private-test-ad") + networkName := acctest.BootstrapSharedServiceNetworkingConnection(t, "sql-instance") addressName := "tf-test-" + acctest.RandString(t, 10) rootPassword := acctest.RandString(t, 15) adDomainName := acctest.BootstrapSharedTestADDomain(t, "test-domain", networkName)