-
Notifications
You must be signed in to change notification settings - Fork 10
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
Investigate test crushing using tokio core_threads = 4 #58
Comments
A related issue is that, when using multiple core threads logs are mixed. this is a single line containing multiple logs
|
After a few tries I observe that there are no problems with |
Perhaps the problem lies at the acquisition of ports where TcpListener::bind() is called from TofndParty.rs. The following program creates 1000 threads, each one of which creates a new tcp listener.
Investigating the output of the below code, I see that it contains 63 duplicates. It is possible that some ports are allocated, and become available again after the underlying case has finished, but some of the duplicates are suspiciously close:
Update: |
closed by #205 |
It was observed that malicious tests fail when multiple core threads are used. Investigate the origin of this failure.
The output is:
The text was updated successfully, but these errors were encountered: