diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch')
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch deleted file mode 100644 index 4e284de613..0000000000 --- a/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | From b678363156b5d40e09c1d138840180e3ddc7d20b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 3 | Date: Wed, 8 May 2024 11:58:09 -0400 | ||
| 4 | Subject: [PATCH] test_shutdown: skip problematic test | ||
| 5 | |||
| 6 | This test hangs frequently when run on the Autobuilder. Disable it in | ||
| 7 | testing until the cause can be determined. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [OE-Specific] | ||
| 10 | |||
| 11 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 12 | --- | ||
| 13 | Lib/test/test_concurrent_futures/test_shutdown.py | 3 +++ | ||
| 14 | 1 file changed, 3 insertions(+) | ||
| 15 | |||
| 16 | diff --git a/Lib/test/test_concurrent_futures/test_shutdown.py b/Lib/test/test_concurrent_futures/test_shutdown.py | ||
| 17 | index 7a4065a..6b878a4 100644 | ||
| 18 | --- a/Lib/test/test_concurrent_futures/test_shutdown.py | ||
| 19 | +++ b/Lib/test/test_concurrent_futures/test_shutdown.py | ||
| 20 | @@ -20,6 +20,7 @@ def sleep_and_print(t, msg): | ||
| 21 | sys.stdout.flush() | ||
| 22 | |||
| 23 | |||
| 24 | +@unittest.skip("skipping problematic test") | ||
| 25 | class ExecutorShutdownTest: | ||
| 26 | def test_run_after_shutdown(self): | ||
| 27 | self.executor.shutdown() | ||
| 28 | @@ -156,6 +157,7 @@ class ExecutorShutdownTest: | ||
| 29 | signal.signal(signal.SIGALRM, old_handler) | ||
| 30 | |||
| 31 | |||
| 32 | +@unittest.skip("skipping problematic test") | ||
| 33 | class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase): | ||
| 34 | def test_threads_terminate(self): | ||
| 35 | def acquire_lock(lock): | ||
| 36 | @@ -252,6 +254,7 @@ class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase | ||
| 37 | self.assertIn(out.strip(), [b"apple", b""]) | ||
| 38 | |||
| 39 | |||
| 40 | +@unittest.skip("skipping problematic test") | ||
| 41 | class ProcessPoolShutdownTest(ExecutorShutdownTest): | ||
| 42 | def test_processes_terminate(self): | ||
| 43 | def acquire_lock(lock): | ||
