tests: simplify preallocation of ports
Binding a port actually does not reserve it. And on the other side, a bound socket can't be bound again. So it could bind a port twice, warn about this, and then raise EINVAL when trying to bind again. Apart from this, the global lock didn't even prevent conflict with another NEO test run when tests restart nodes. So better keep it simple.
Showing
Please register or sign in to comment