Re: [PATCH v2] tests/avocado: starts PhoneServer upfront

2022-03-16 Thread Cleber Rosa
Beraldo Leal 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

Re: [PATCH v2] tests/avocado: starts PhoneServer upfront

2022-03-14 Thread Thomas Huth
On 11/03/2022 18.11, Beraldo Leal wrote: 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

[PATCH v2] tests/avocado: starts PhoneServer upfront

2022-03-11 Thread Beraldo Leal
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