|
| From: | Thomas Huth |
| Subject: | Re: [PATCH] net: stream: test reconnect option with an unix socket |
| Date: | Mon, 15 May 2023 09:57:50 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 03/05/2023 11.41, Laurent Vivier wrote:
We can have failure with the inet type test because the port address is not allocated atomically and can be taken by another test between its selection and the start of QEMU. To avoid that, use an unix socket with a path that is unique Signed-off-by: Laurent Vivier <lvivier@redhat.com> --- tests/qtest/netdev-socket.c | 39 +++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 21 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com> I'll queue this patch for my next pull request. Thomas
| [Prev in Thread] | Current Thread | [Next in Thread] |