Skip to content

Go-VCR: Make domain name generation functions VCR-aware #47769

@jar-b

Description

@jar-b

Description

The acctest.RandomDomainName and acctest.RandomSubdomain and acctest.RandomFQDomainName helper functions are currently underpinned by the Plugin SDK V2 based random string generation logic, which is not VCR-aware. These helper functions should be refactored to accept a *testing.T and call to the internal acctest.RandString generator to ensure deterministic domain names are generated upon test replay.

Important Facts and References

Relates #25602

Would you like to implement a relevant change?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    technical-debtAddresses areas of the codebase that need refactoring or redesign.testsPRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions