Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinbai committed Dec 18, 2024
1 parent fdac89b commit 08c3af2
Showing 1 changed file with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ func TestAccMsSqlManagedInstanceFailoverGroup_update(t *testing.T) {
r := MsSqlManagedInstanceFailoverGroupResource{}

data.ResourceTest(t, r, []acceptance.TestStep{
{
Config: MsSqlManagedInstanceResource{}.dnsZonePartner(data),
},
{
// It speeds up deletion to remove the explicit dependency between the instances
Config: MsSqlManagedInstanceResource{}.emptyDnsZonePartner(data),
},
{
Config: r.basic(data),
Check: acceptance.ComposeTestCheckFunc(
Expand All @@ -45,10 +38,6 @@ func TestAccMsSqlManagedInstanceFailoverGroup_update(t *testing.T) {
),
},
data.ImportStep(),
{
// disconnect
Config: MsSqlManagedInstanceResource{}.emptyDnsZonePartner(data),
},
})
}

Expand Down Expand Up @@ -136,6 +125,7 @@ resource "azurerm_public_ip" "test" {
location = azurerm_resource_group.test.location
resource_group_name = azurerm_resource_group.test.name
allocation_method = "Dynamic"
sku = "Basic"
}
resource "azurerm_virtual_network_gateway" "test" {
Expand Down Expand Up @@ -179,6 +169,7 @@ resource "azurerm_public_ip" "secondary" {
location = azurerm_resource_group.secondary.location
resource_group_name = azurerm_resource_group.secondary.name
allocation_method = "Dynamic"
sku = "Basic"
}
resource "azurerm_virtual_network_gateway" "secondary" {
Expand Down

0 comments on commit 08c3af2

Please sign in to comment.