Skip to content

Commit

Permalink
Merge pull request #1106 from ksamoray/new_domain_id
Browse files Browse the repository at this point in the history
Make domain name unique to address test failures
  • Loading branch information
ksamoray authored Feb 13, 2024
2 parents 7e58429 + 8de26d1 commit 9e55291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nsxt/resource_nsxt_policy_gateway_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func TestAccResourceNsxtGlobalPolicyGatewayPolicy_withSite(t *testing.T) {
func TestAccResourceNsxtGlobalPolicyGatewayPolicy_withDomain(t *testing.T) {
name := "terraform-test"
siteName := getTestSiteName()
domainName := "new-domain"
domainName := getAccTestResourceName()
testResourceName := "nsxt_policy_gateway_policy.test"
comments := "Acceptance test create"

Expand Down
2 changes: 1 addition & 1 deletion nsxt/resource_nsxt_policy_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func TestAccResourceNsxtGlobalPolicyGroup_externalIDCriteria(t *testing.T) {
func TestAccResourceNsxtGlobalPolicyGroup_withDomain(t *testing.T) {
name := "test-nsx-global-policy-group-domain"
testResourceName := "nsxt_policy_group.test"
domainName := "new-domain"
domainName := getAccTestResourceName()

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() {
Expand Down

0 comments on commit 9e55291

Please sign in to comment.