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

Fully mock flaky [CodeClimate] multi-step tests #10218

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

PyvesB
Copy link
Member

@PyvesB PyvesB commented Jun 1, 2024

I introduced these two tests in #7716, but unfortunately they've broken a few times already (#9253, #9933, and presently broken again). This probably boils down to the fact that the snapshot and test report IDs we use in the first mocked response eventually get cleaned up, making the second non-mocked query fail. I suggest we fully mock these tests, they exercise logic for edge cases so don't benefit from hitting the real upstream services as much anyway.

Closes #7833.

@PyvesB PyvesB added the keep-service-tests-green Related to fixing failing tests of the services label Jun 1, 2024
Copy link
Contributor

github-actions bot commented Jun 1, 2024

Messages
📖 ✨ Thanks for your contribution to Shields, @PyvesB!

Generated by 🚫 dangerJS against 61c4273

@PyvesB PyvesB added this pull request to the merge queue Jun 2, 2024
Merged via the queue into badges:master with commit 39a17b6 Jun 2, 2024
28 checks passed
@PyvesB PyvesB deleted the fix-codeclimate-multi-item-tests branch June 2, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep-service-tests-green Related to fixing failing tests of the services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code Climate service tests failing
2 participants