provider/azurerm: Randomizing the ARM security rule acceptance tests

This commit is contained in:
stack72 2016-11-24 21:54:59 +00:00
parent 16a725b33f
commit 71f376f7a5
No known key found for this signature in database
GPG Key ID: 8619A619B085CB16
1 changed files with 3 additions and 3 deletions

View File

@ -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"
}