Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: [M3-8934] - Fix test failure in linode-storage.spec.ts #11304

Merged
merged 8 commits into from
Nov 21, 2024

Conversation

jdamore-linode
Copy link
Contributor

@jdamore-linode jdamore-linode commented Nov 21, 2024

Description 📝

This fixes a persistent failure in linode-storage.spec.ts. I couldn't track down the specific change but it seems like the API now rejects requests to add/modify disks when the desired size is very small (in our case, it was 1MB).

This also increases the timeout we use when creating Linodes. A lot of our Linode e2e tests don't actually use this constant, so hoping to follow up (most likely in a separate PR) with additional changes to address this recent flakiness of our other Linode e2e tests.

Changes 🔄

  • Use 512MB and 768MB size disks in tests to resolve failures stemming from API error
  • Increase LINODE_CREATE_TIMEOUT from 3 minutes to 4 minutes
  • General clean up

Target release date 🗓️

N/A

How to test 🧪

(Pending)

As an Author, I have considered 🤔

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All unit tests are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@jdamore-linode jdamore-linode self-assigned this Nov 21, 2024
@jdamore-linode jdamore-linode requested a review from a team as a code owner November 21, 2024 18:11
@jdamore-linode jdamore-linode requested review from AzureLatte and removed request for a team November 21, 2024 18:11
@jdamore-linode jdamore-linode requested a review from a team as a code owner November 21, 2024 18:13
@jdamore-linode jdamore-linode requested review from carrillo-erik and abailly-akamai and removed request for a team November 21, 2024 18:13
Copy link

Coverage Report:
Base Coverage: 86.81%
Current Coverage: 86.81%

@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 454 passing tests on test run #2 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing454 Passing2 Skipped87m 56s

Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

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

thank you!

@coliu-akamai coliu-akamai added the Approved Multiple approvals and ready to merge! label Nov 21, 2024
@jdamore-linode jdamore-linode merged commit dba4bfa into linode:develop Nov 21, 2024
22 of 23 checks passed
Copy link

cypress bot commented Nov 21, 2024

Cloud Manager E2E    Run #6864

Run Properties:  status check passed Passed #6864  •  git commit dba4bfa0d5: test: [M3-8934] - Fix test failure in `linode-storage.spec.ts` (#11304)
Project Cloud Manager E2E
Branch Review develop
Run status status check passed Passed #6864
Run duration 29m 42s
Commit git commit dba4bfa0d5: test: [M3-8934] - Fix test failure in `linode-storage.spec.ts` (#11304)
Committer jdamore-linode
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 4
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 454
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Ready for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants