Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make domain name unique to address test failures #1106

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

ksamoray
Copy link
Collaborator

Test fail occasionally due to delays in deletion of domains in global manager topologies.

@ksamoray
Copy link
Collaborator Author

/test-all

@@ -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 := fmt.Sprintf("new-domain-%d", getRandomSuffixInt())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use getAccTestResourceName() for consistency with other tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I thought that there's some reason that it wasn't used :)

Test fail occasionally due to delays in deletion of domains in global
manager topologies.

Signed-off-by: Kobi Samoray <[email protected]>
@ksamoray
Copy link
Collaborator Author

/test-all

@ksamoray ksamoray merged commit 9e55291 into vmware:master Feb 13, 2024
7 checks passed
@ksamoray ksamoray deleted the new_domain_id branch February 13, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants