I manage to write my code such that each test works individually. However, when I run all the tests together, I face the error "address already in use". I suspect that tests are executed concurrently. Hence, many peers can be initialized with the same address returning this error.
I don't know how to correct this, do you think it comes from the tests files? Can there be something wrong regarding my concurrency management?
Thank you for your reply :)