Skip to content

TPT-4446: Fix failing smoke tests#974

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

TPT-4446: Fix failing smoke tests#974
mawilk90 wants to merge 6 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.

Tags needed for TestLKECluster_Enterprise_BYOVPC_smoke:

  • lke-beta-ff-vpc
  • vpc-ipv6
  • vpc-ipv6-enterprise
  • vpc-ipv6-extra-special
  • lke-beta-ff-vpc-ipv4-only <-- If you have it, please remove it

Note:

  • TestMonitorDashboards_Get_smoke: as discussed on Slack, ACLP Team confirmed that the API changes have been made (that's why the test fails) and they're going to udpate SDKs soon (group_by will be returned at both the dashboard level and the widget level) - the test is skipped for now.

✔️ How to Test

make test-smoke

@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
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.

2 participants