Skip to content

Commit

Permalink
be even more generous with 'extra-time' to wait on MacOS
Browse files Browse the repository at this point in the history
That way, flaky failures are hopefully reliably avoided.
  • Loading branch information
Byron committed Dec 8, 2023
1 parent 2b69bac commit 86fcb1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git/ext/gitdb
2 changes: 1 addition & 1 deletion test/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def test_blocking_lock_file(self):
if os.name == "nt" or sys.platform == "cygwin":
extra_time *= 6 # Without this, we get indeterministic failures on Windows.
elif sys.platform == "darwin":
extra_time *= 9 # The situation on macOS is similar, but with more delay.
extra_time *= 18 # The situation on macOS is similar, but with more delay.
self.assertLess(elapsed, wait_time + extra_time)

def test_user_id(self):
Expand Down

0 comments on commit 86fcb1b

Please sign in to comment.