Skip to content

Commit

Permalink
Rename network names
Browse files Browse the repository at this point in the history
  • Loading branch information
zli82016 committed Sep 16, 2023
1 parent fa4a1af commit 9090d3f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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) },
Expand Down Expand Up @@ -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) },
Expand Down Expand Up @@ -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) },
Expand Down Expand Up @@ -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) },
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9090d3f

Please sign in to comment.