Skip to content

TPT-4741: Fix failing backup tests - #934

Merged
mawilk90 merged 1 commit into
linode:devfrom
mawilk90:hotfix/TPT-4741-cli-fix-and-refactor-linode-backup-integration-tests
Oct 20, 2026
Merged

mawilk90 merged 1 commit into
linode:devfrom
mawilk90:hotfix/TPT-4741-cli-fix-and-refactor-linode-backup-integration-tests

Conversation

@mawilk90

Copy link
Copy Markdown
Contributor

📝 Description

Some of the backup tests fail due to incorrect configuration.

✔️ How to Test

export RUN_LONG_TESTS=True
make test-int TEST_SUITE=linodes TEST_ARGS="-k backup -v"

@mawilk90
mawilk90 requested review from a team as code owners October 19, 2026 12:21
@mawilk90
mawilk90 requested review from jcamelon, lgarber-akamai and psnoch-akamai and a balanced review from Copilot and removed request for a team and jcamelon October 19, 2026 12:21
@mawilk90 mawilk90 added testing for updates to the testing suite in the changelog. hotfix urgent fixes for production issues. labels Oct 19, 2026

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.

🟡 Changes recommended

The cancellation test still rejects completed snapshots, leaving a timing-dependent failure.

1 open issue
What changed in this PR

Fixes backup integration-test configuration and snapshot handling.

Changes:

  • Wires snapshot tests and fixtures to the cloud firewall fixture.
  • Adds Linode cleanup after the snapshot test.
  • Lists existing backups before testing cancellation.
File Description
tests/​integration/​linodes/​test_backups.py Updates fixture usage, cleanup, and cancellation checks.
tests/​integration/​linodes/​fixtures.py Passes the cloud firewall to snapshot Linode creation.

Review effort: Balanced

Comment thread tests/integration/linodes/test_backups.py
@mawilk90
mawilk90 merged commit d86a2cb into linode:dev Oct 20, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotfix urgent fixes for production issues. 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