File subprocess-raise-timeout.patch of Package python3.33975

From 766061638e734ce7c5bd2b2b9b21beaf9b8de19c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@cepl.eu>
Date: Wed, 3 Apr 2024 10:44:19 +0200
Subject: [PATCH] Raise timeout value for test_subprocess

Patch: subprocess-raise-timeout.patch
---
 Lib/test/test_subprocess.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index e1b24778430..1c320440f91 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -1079,7 +1079,8 @@ class ProcessTestCase(BaseTestCase):
         self.assertIn("0.0001", str(c.exception))  # For coverage of __str__.
         # Some heavily loaded buildbots (sparc Debian 3.x) require this much
         # time to start.
-        self.assertEqual(p.wait(timeout=3), 0)
+        # OBS might require even more
+        self.assertEqual(p.wait(timeout=10), 0)
 
     def test_wait_endtime(self):
         """Confirm that the deprecated endtime parameter warns."""
-- 
2.45.0
openSUSE Build Service is sponsored by