Skip to content

TPT-4446: Fix failing smoke tests 2 - #1061

Open
mawilk90 wants to merge 1 commit into
linode:mainfrom
mawilk90:hotfix/TPT-4446-linodego-failing-smoke-tests-2
Open

mawilk90 wants to merge 1 commit into
linode:mainfrom
mawilk90:hotfix/TPT-4446-linodego-failing-smoke-tests-2

Conversation

@mawilk90

Copy link
Copy Markdown
Contributor

📝 Description

Added logic for generating names for a cloned domain to avoid issues arising from the existence of identical domain names.

✔️ How to Test

make fixtures TEST_ARGS="-run TestDomain_Clone_smoke" or
make test-int TEST_ARGS="-run TestDomain_Clone_smoke"

@mawilk90 mawilk90 added improvement for improvements in existing functionality in the changelog. testing for updates to the testing suite in the changelog. labels Oct 21, 2026
Copilot AI balanced review requested due to automatic review settings October 21, 2026 11:58
@mawilk90
mawilk90 requested review from a team as code owners October 21, 2026 11:58
@mawilk90
mawilk90 requested review from ezilber-akamai, jcamelon, jriddle-linode and psnoch-akamai and removed request for a team and jcamelon October 21, 2026 11:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused naming change matches the refreshed fixture, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Reduces domain-clone smoke test name collisions by deriving the clone name from the source domain.

Changes:

  • Replaces the fixed clone name with a source-derived name.
  • Registers teardown with t.Cleanup.
  • Refreshes the recorded integration fixture.
File Description
test/​integration/​fixtures/​TestDomain_Clone.yaml Updates recorded names, resource IDs, and response metadata.
test/​integration/​domains_test.go Derives clone names and updates cleanup registration.

Review effort: Balanced

@ezilber-akamai ezilber-akamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Test passes locally!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement for improvements in existing functionality in the changelog. testing for updates to the testing suite in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants