summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
blob: b4f873fd7210911edf50f0762fbde0cc28e556e4 (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
From 9f252a691cd335341938489da32d6e2d4620d8ca 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 bed0e6d..36602be 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -627,6 +627,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)