-
Notifications
You must be signed in to change notification settings - Fork 39
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
vegur_roundtrip_SUITE:large_chunked_request_response_interrupt has non-deterministic failures #118
Comments
edited output of
note that I also tried: - {ok, Client} = gen_tcp:connect(IP, Port, [{active,false},list],1000),
+ {ok, Client} = gen_tcp:connect(IP, Port, [{active,false},list,{sndbuf,100000},{recbuf,100000}],1000), but got the same output when it failed. |
also saw an identical failure in: |
I'm wondering if this isn't just bad TCP stacks falling into weird states here and there. Running tests on localhost and on travis sometimes would yield entirely different ways to terminate connections. |
could well be. I'd feel more comfortable if this failed less often though, so mostly I am looking for ameliorations to make the failure < 1% of the time, ideally much less. |
I think this has been fixed while reworking the interruption detection and semantics. Marking as closed, will reopen if we see it happen again. |
ignore the bogus line numbers and error reason, I have some debugging code in the test. The
gen_tcp:recv/3
is failing eventually at Timeout = 100, 300, and 10000. I didn't try anything higher. I don't have good counts on how often this happens, but in all cases less than 5 minutes. just do:and you'll get a failure before too long.
The text was updated successfully, but these errors were encountered: