diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-11-23 13:36:27 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-30 08:43:04 +0000 |
commit | eea4746ef5aa4d3dc86745c3e6d913f97e03febc (patch) | |
tree | 1c5015a2e6eeb1ef9a5cb49329f6d25002bf93ce /meta/recipes-devtools/python/python3 | |
parent | c7ed37b5ffdb8adc18a9894c7c69f8d524382186 (diff) | |
download | poky-eea4746ef5aa4d3dc86745c3e6d913f97e03febc.tar.gz |
python3-ptest: skip test_storlines
[YOCTO #14933]
test_storlines is yet another Python ptest that fails intermittently on
the Yocto AB, so disable it during ptests for now.
(From OE-Core rev: d7b9f8157e6214a83b5495e8a32e11540ae65ff8)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.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')
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch new file mode 100644 index 0000000000..199031d42a --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 013ff01fdf2aa6ca69a7c80a2a2996630877e4ea Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Gamblin <tgamblin@baylibre.com> | ||
3 | Date: Fri, 6 Oct 2023 10:59:44 -0400 | ||
4 | Subject: [PATCH] test_storlines: skip due to load variability | ||
5 | |||
6 | This is yet another test that intermittently fails on the Yocto AB when | ||
7 | a worker is under heavy load, so skip it during testing. | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE-Specific] | ||
10 | |||
11 | [YOCTO #14933] | ||
12 | |||
13 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
14 | --- | ||
15 | Lib/test/test_ftplib.py | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py | ||
19 | index 082a90d46b..508814d56a 100644 | ||
20 | --- a/Lib/test/test_ftplib.py | ||
21 | +++ b/Lib/test/test_ftplib.py | ||
22 | @@ -629,6 +629,7 @@ def test_storbinary_rest(self): | ||
23 | self.client.storbinary('stor', f, rest=r) | ||
24 | self.assertEqual(self.server.handler_instance.rest, str(r)) | ||
25 | |||
26 | + @unittest.skip('timing related test, dependent on load') | ||
27 | def test_storlines(self): | ||
28 | data = RETR_DATA.replace('\r\n', '\n').encode(self.client.encoding) | ||
29 | f = io.BytesIO(data) | ||
30 | -- | ||
31 | 2.41.0 | ||
32 | |||