summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
blob: 0d0eb08459a2dcbcf8fdd9062f916c1f0982769c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From dc69a1afdb3ba619705ff71e14f19ed3142e422f Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Fri, 6 Oct 2023 10:59:44 -0400
Subject: [PATCH] test_storlines: skip due to load variability

This is yet another test that intermittently fails on the Yocto AB when
a worker is under heavy load, so skip it during testing.

Upstream-Status: Inappropriate [OE-Specific]

[YOCTO #14933]

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>

---
 Lib/test/test_ftplib.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 2f191ea..dc29346 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -626,6 +626,7 @@ class TestFTPClass(TestCase):
             self.client.storbinary('stor', f, rest=r)
             self.assertEqual(self.server.handler_instance.rest, str(r))
 
+    @unittest.skip('timing related test, dependent on load')
     def test_storlines(self):
         data = RETR_DATA.replace('\r\n', '\n').encode(self.client.encoding)
         f = io.BytesIO(data)