• Julien Muchembled's avatar
    tests: simplify preallocation of ports · c321971f
    Julien Muchembled authored
    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.
    c321971f
__init__.py 24.1 KB