From 73ca972e19a93fa84678148d654c18825c1aba05 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Fri, 26 Nov 2021 17:18:15 +0100 Subject: [PATCH] test(acc): azurerm_lb_rule Ignore azurerm_lb resources since it's not necessary to test them here. --- pkg/resource/azurerm/azurerm_lb_rule_test.go | 2 +- pkg/resource/azurerm/testdata/acc/azurerm_lb_rule/.driftignore | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/resource/azurerm/azurerm_lb_rule_test.go b/pkg/resource/azurerm/azurerm_lb_rule_test.go index ec065620..162e2288 100644 --- a/pkg/resource/azurerm/azurerm_lb_rule_test.go +++ b/pkg/resource/azurerm/azurerm_lb_rule_test.go @@ -22,7 +22,7 @@ func TestAcc_Azure_LoadBalancerRules(t *testing.T) { t.Fatal(err) } result.AssertInfrastructureIsInSync() - result.AssertManagedCount(2) + result.AssertManagedCount(1) }, }, }, diff --git a/pkg/resource/azurerm/testdata/acc/azurerm_lb_rule/.driftignore b/pkg/resource/azurerm/testdata/acc/azurerm_lb_rule/.driftignore index c9128bc1..d8469c41 100644 --- a/pkg/resource/azurerm/testdata/acc/azurerm_lb_rule/.driftignore +++ b/pkg/resource/azurerm/testdata/acc/azurerm_lb_rule/.driftignore @@ -1,3 +1,2 @@ * -!azurerm_lb !azurerm_lb_rule