diff options
| author | Ross Burton <ross.burton@arm.com> | 2022-06-17 13:48:20 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-21 18:44:27 +0100 |
| commit | a51d3cb69afeee30716d7d4a61e1359b106008bf (patch) | |
| tree | 14db3e5d8f6074ab5753ac3985ee4713b4554cea /meta/recipes-devtools/python/python3_3.10.5.bb | |
| parent | af6317f9cd1d962313d859e4787b9931c9aaa8c3 (diff) | |
| download | poky-a51d3cb69afeee30716d7d4a61e1359b106008bf.tar.gz | |
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 ]
(From OE-Core rev: efac044cabdbe77556a0b9903595fd602f39ac8d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.10.5.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.10.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.5.bb b/meta/recipes-devtools/python/python3_3.10.5.bb index bf5930c96f..599a1884b4 100644 --- a/meta/recipes-devtools/python/python3_3.10.5.bb +++ b/meta/recipes-devtools/python/python3_3.10.5.bb | |||
| @@ -35,6 +35,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ | |||
| 35 | file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ | 35 | file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ |
| 36 | file://deterministic_imports.patch \ | 36 | file://deterministic_imports.patch \ |
| 37 | file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ | 37 | file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ |
| 38 | file://0001-Mitigate-the-race-condition-in-testSockName.patch \ | ||
| 38 | " | 39 | " |
| 39 | 40 | ||
| 40 | SRC_URI:append:class-native = " \ | 41 | SRC_URI:append:class-native = " \ |
