[go: nahoru, domu]

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

check AWS Support validation status #11005

Merged
merged 2 commits into from
Jun 12, 2024
Merged

check AWS Support validation status #11005

merged 2 commits into from
Jun 12, 2024

Conversation

bentsku
Copy link
Contributor
@bentsku bentsku commented Jun 11, 2024

Motivation

As part of the effort to validate tests, I've tried to run the AWS Support test against AWS.
It seems you need a Premium account to use the Support API. I had rewritten the test to be easily snapshot-able.

Changes

  • mark the test a needs_fixing as you cannot run them against AWS without a premium plan. Debatable if this is needs_fixing or only_localstack though, technically it's not by design, but also needs something specific.

@bentsku bentsku added semver: patch Non-breaking changes which can be included in patch releases aws:support AWS Support labels Jun 11, 2024
@bentsku bentsku self-assigned this Jun 11, 2024
Copy link

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 35m 46s ⏱️ +10s
3 073 tests  - 1  2 728 ✅  - 1  345 💤 ±0  0 ❌ ±0 
3 075 runs   - 1  2 728 ✅  - 1  347 💤 ±0  0 ❌ ±0 

Results for commit 2577871. ± Comparison against base commit de41959.

This pull request removes 2 and adds 1 tests. Note that renamed tests count towards both.
tests.aws.services.support.test_support.TestConfigService ‑ test_create_support_case
tests.aws.services.support.test_support.TestConfigService ‑ test_resolve_case
tests.aws.services.support.test_support.TestConfigService ‑ test_support_case_lifecycle

Copy link
Contributor
@cloutierMat cloutierMat left a comment

Choose a reason for hiding this comment

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

You might say it the easy one, but it is a great resolution with great comments added to it!

I personally think that needs_fixing is fine for now. It could be useful though to be able to create a snapshot for them in the future. But that would make those tests harder to maintain...

Copy link
Contributor
@sannya-singal sannya-singal left a comment

Choose a reason for hiding this comment

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

I agree to Mathieu, thanks for fixing this, changes LGTM 🚀

@bentsku bentsku merged commit 55d75ea into master Jun 12, 2024
35 checks passed
@bentsku bentsku deleted the validate-support-test branch June 12, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws:support AWS Support semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants