]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3: fix a race condition in the test_socket.testSockName test
authorRoss Burton <ross.burton@arm.com>
Fri, 17 Jun 2022 12:48:20 +0000 (13:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jun 2022 17:44:23 +0000 (18:44 +0100)
commitefac044cabdbe77556a0b9903595fd602f39ac8d
tree371d95e57aaf35697c12a84f33c1b1dac36b19ee
parent98cc5639d74dc71aa1352b50f97ed832245d3c3b
python3: fix a race condition in the test_socket.testSockName test

This test uses find_unused_port() which is inherently racey, so retry
it a few times before failing.

[ YOCTO #14840 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/python/python3/0001-Mitigate-the-race-condition-in-testSockName.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.10.5.bb