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

fix: better handling of concurrent http servers #57

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

pendo324
Copy link
Member

@pendo324 pendo324 commented Apr 6, 2023

Issue #, if available: runfinch/finch#322, specifically regarding this comment runfinch/finch#327 (comment)

Description of changes:

  • instantiate a new NewServeMux every time the test is run
  • use the SpecContext context instead of the default background context

Testing done:

  • tested by using go.mod replace () and running tests locally

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Signed-off-by: Justin Alvarez <alvajus@amazon.com>
@pendo324 pendo324 self-assigned this Apr 6, 2023
Copy link
Contributor

@sam-berning sam-berning left a comment

Choose a reason for hiding this comment

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

LGTM

@pendo324 pendo324 merged commit 0ae6182 into runfinch:main Apr 6, 2023
pendo324 pushed a commit that referenced this pull request Apr 6, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.6.4](v0.6.3...v0.6.4)
(2023-04-06)


### Bug Fixes

* better handling of concurrent http servers
([#57](#57))
([0ae6182](0ae6182))

---
This PR was generated with [Release
Please](/~https://github.com/googleapis/release-please). See
[documentation](/~https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants