From 71f376f7a52f087c31fce23742833ba4b5900ceb Mon Sep 17 00:00:00 2001 From: stack72 Date: Thu, 24 Nov 2016 21:54:59 +0000 Subject: [PATCH] provider/azurerm: Randomizing the ARM security rule acceptance tests --- .../azurerm/resource_arm_network_security_rule_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/providers/azurerm/resource_arm_network_security_rule_test.go b/builtin/providers/azurerm/resource_arm_network_security_rule_test.go index 0160c8b04..cb241f312 100644 --- a/builtin/providers/azurerm/resource_arm_network_security_rule_test.go +++ b/builtin/providers/azurerm/resource_arm_network_security_rule_test.go @@ -158,7 +158,7 @@ func testCheckAzureRMNetworkSecurityRuleDestroy(s *terraform.State) error { func testAccAzureRMNetworkSecurityRule_basic(rInt int) string { return fmt.Sprintf(` resource "azurerm_resource_group" "test" { - name = "acceptanceTestResourceGroup1" + name = "acctestRG-%d" location = "West US" } @@ -187,7 +187,7 @@ resource "azurerm_network_security_rule" "test" { func testAccAzureRMNetworkSecurityRule_updateBasic(rInt int) string { return fmt.Sprintf(` resource "azurerm_resource_group" "test1" { - name = "acceptanceTestResourceGroup2" + name = "acctestRG-%d" location = "West US" } @@ -216,7 +216,7 @@ resource "azurerm_network_security_rule" "test1" { func testAccAzureRMNetworkSecurityRule_updateExtraRule(rInt int) string { return fmt.Sprintf(` resource "azurerm_resource_group" "test1" { - name = "acceptanceTestResourceGroup2" + name = "acctestRG-%d" location = "West US" }