Skip to content

TPT-4446: Fix failing smoke tests#974

Open
mawilk90 wants to merge 16 commits into
linode:mainfrom
mawilk90:hotfix/flaky_smoke_tests_fixes
Open

TPT-4446: Fix failing smoke tests#974
mawilk90 wants to merge 16 commits into
linode:mainfrom
mawilk90:hotfix/flaky_smoke_tests_fixes

Conversation

@mawilk90
Copy link
Copy Markdown
Contributor

@mawilk90 mawilk90 commented May 21, 2026

📝 Description

Nightly smoke tests fail and some fixes/improvements are required.

Additionally, included fix/revert for failing tests in object_storage_quota_test.go

See jira for required tags for testing.

NOTE:

✔️ How to Test

make test-smoke
make fixtures TEST_ARGS="-run TestObjectStorageQuota"

@mawilk90 mawilk90 added improvement for improvements in existing functionality in the changelog. testing for updates to the testing suite in the changelog. do-not-merge PRs that should not be merged until the commented issue is resolved labels May 21, 2026
@mawilk90 mawilk90 marked this pull request as ready for review May 26, 2026 08:08
@mawilk90 mawilk90 requested a review from a team as a code owner May 26, 2026 08:08
Copilot AI review requested due to automatic review settings May 26, 2026 08:08
@mawilk90 mawilk90 requested a review from a team as a code owner May 26, 2026 08:08
@mawilk90 mawilk90 requested review from psnoch-akamai and yec-akamai and removed request for a team May 26, 2026 08:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates integration smoke tests and recorded fixtures to address recent failures, primarily around resource naming collisions, asynchronous readiness, and updated platform capabilities/engines.

Changes:

  • Make created resources (volumes/domains) less collision-prone and wait for volume readiness before deletion.
  • Update Postgres managed database engine version used in tests.
  • Adjust LKE enterprise BYO-VPC smoke test to use dynamic region selection and request IPv6 VPC ranges; refresh multiple fixtures accordingly.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test/integration/volumes_test.go Randomizes volume label and waits for active status before deletion to reduce flakes.
test/integration/postgres_test.go Updates the Postgres engine version used when creating test DB clusters.
test/integration/lke_clusters_test.go Switches region selection to capabilities-based lookup and adds IPv6 range options for VPC creation.
test/integration/fixtures/TestVolume_List.yaml Updates recorded region/volume interactions and response shapes (new fields/capabilities).
test/integration/fixtures/TestVolume_Create.yaml Updates recorded volume-create flow (including additional GET/fields).
test/integration/fixtures/TestAccountEvents_List.yaml Refreshes recorded interactions for account events test.
test/integration/domains_test.go Randomizes domain name to avoid collisions.
test/integration/account_events_test.go Adds a delay to reduce flakiness when querying for newly-created config events.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/integration/lke_clusters_test.go Outdated
Comment thread test/integration/account_events_test.go
Comment thread test/integration/fixtures/TestAccountEvents_List.yaml
Comment thread test/integration/lke_clusters_test.go
@mawilk90 mawilk90 force-pushed the hotfix/flaky_smoke_tests_fixes branch from 07679fe to c2506d6 Compare May 28, 2026 13:16
@mawilk90 mawilk90 removed the do-not-merge PRs that should not be merged until the commented issue is resolved label May 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 7 comments.

Comment thread test/integration/volumes_test.go Outdated
Comment thread test/integration/volumes_test.go Outdated
Comment thread test/integration/volumes_test.go Outdated
Comment thread test/integration/volumes_test.go Outdated
Comment thread test/integration/lke_clusters_test.go Outdated
Comment thread test/integration/lke_clusters_test.go Outdated
Comment thread test/integration/account_events_test.go
Copy link
Copy Markdown
Contributor

@yec-akamai yec-akamai left a comment

Choose a reason for hiding this comment

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

Tests passing locally, nice work!

@mawilk90 mawilk90 force-pushed the hotfix/flaky_smoke_tests_fixes branch from b994fe9 to 17722d2 Compare June 3, 2026 09:49
Comment thread test/integration/lke_clusters_test.go Outdated
Comment thread test/integration/lke_clusters_test.go Outdated
Comment thread test/integration/volumes_test.go Outdated
@mawilk90 mawilk90 force-pushed the hotfix/flaky_smoke_tests_fixes branch from 7f106f5 to 2e913fc Compare June 3, 2026 14:02
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.

4 participants