Skip to content

Fix frequent CI failures of MDCReactorSpec #10031

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

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

jeremyg484
Copy link
Contributor

@jeremyg484 jeremyg484 commented Oct 26, 2023

This sets the read timeout of the main http client (which is manually instantiated) used in MDCReactorSpec to 5
minutes, which is the same as what is set for the dependency-injected clients used elsewhere throughout the test.

This spec was frequently failing in CI with an HTTP read timeout error, likely due to resource starvation on the CI
job runner causing slow responses from the embedded server that is used in the test.

This should fix #10026

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
This sets the read timeout of the main http client (which is manually
instantiated) used in MDCReactorSpec to 5 minutes, which is the same
as what is set for the dependency-injected clients used elsewhere
throughout the test.

This spec was frequently failing in CI with an HTTP read timeout error,
likely due to resource starvation on the CI job runner causing slow
responses from the embedded server that is used in the test.
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jeremyg484 jeremyg484 requested a review from sdelamo October 26, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MDCReactorSpec is extremely flaky
2 participants