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
Concurrent requests seem to break testWithApplication #671
Comments
I just pushed a commit to master to ignore some exception in |
Unfortunately I'm still seeing the same thing. I've created a repo which contains the test code and points to the latest commit: Is this perhaps macOS-specific, or are you also able to replicate the problem with the above repo? |
Turns out that the real issue was having too small a backlog. But may as well reuse the existing random port functionality in streaming-commons.
OK, pretty sure I got it with c548f55. Turns out that the backlog was being set to 1. Can you try out master now? |
@snoyberg thanks for the fix. I can confirm that I'm able to run my example repeatedly without problems. 😄 |
Cool, new version released to Hackage.
…On Thu, Feb 15, 2018 at 2:55 AM, Jonathan Merritt ***@***.***> wrote:
@snoyberg <https://github.com/snoyberg> thanks for the fix. I can confirm
that I'm able to run my example repeatedly without problems. 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#671 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AADBB4jlCYOC-1n4LjKnpeXCQV2N9Xt3ks5tU4BmgaJpZM4RzOQQ>
.
|
When Warp is sent concurrent requests in
testWithApplication
, it often fails with a timeout.Test code to replicate the problem is included below (as a
stack
script). For me, this test very occasionally succeeds. However, the vast majority of the time, it fails.Example of the observed failure:
Expected output:
Relevant system information (some is not relevant because the above stack script is self-contained):
The text was updated successfully, but these errors were encountered: