File test_blocking_lock_file-extra-time.patch of Package python-GitPython
---
test/test_util.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: GitPython-3.1.34.1693646983.2a2ae77/test/test_util.py
===================================================================
--- GitPython-3.1.34.1693646983.2a2ae77.orig/test/test_util.py
+++ GitPython-3.1.34.1693646983.2a2ae77/test/test_util.py
@@ -173,11 +173,7 @@ class TestUtils(TestBase):
elapsed = time.time() - start
extra_time = 0.02
- if sys.platform in {"win32", "cygwin"}:
- extra_time *= 6 # Without this, we get indeterministic failures on Windows.
- elif sys.platform == "darwin":
- extra_time *= 18 # The situation on macOS is similar, but with more delay.
-
+ extra_time *= 6 # NOTE: Indeterministic failures here...
self.assertLess(elapsed, wait_time + extra_time)
def test_user_id(self):