Status: Help Wanted
Affects Version/s: None
Fix Version/s: None
This issue only occurs on Windows. Tested on Windows 10.
This is a followup to https://bugs.erlang.org/browse/ERL-960 where the attached test case now works reliably, but the more general problem seems to remain.
I have test cases that heavily send data via ssl:send. When a single test is run, there is typically no problem. When multiple tests run at the same time and internal_active_n=1 there is no problem. When multiple tests run at the same time and internal_active_n=$DEFAULT then the ssl:send gets stuck.
I do not have an easy to use test case to reproduce this issue. On the other hand it should be reproducible by cloning Ranch and running a specific test suite. I can reproduce this with all versions of OTP >= 22.0 at least.
git clone https://github.com/ninenines/ranch
git checkout windows-ssl-active-n
make ct-sendfile t=ssl
You should have timeouts and timetrap timeouts. If I remove the timetrap timeout then the tests simply never finish.
I'd appreciate help in solving this issue.