Beraldo Leal <[email protected]> writes:
> Race conditions can happen with the current code, because the port that > was available might not be anymore by the time the server is started. > > By setting the port to 0, PhoneServer it will use the OS default > behavior to get a free port, then we save this information so we can > later configure the guest. > > Suggested-by: Daniel P. Berrangé <[email protected]> > Signed-off-by: Beraldo Leal <[email protected]> > --- > tests/avocado/avocado_qemu/__init__.py | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) Reviewed-by: Cleber Rosa <[email protected]> Tested-by: Cleber Rosa <[email protected]>
