Skip to content

Commit

Permalink
Use longer sleep times in the hopes of reducing flakiness on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Feb 9, 2023
1 parent a730c30 commit f4a04db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class TimedContext(contextlib.ContextDecorator):
A context that will raise DeadlineExceeded if the
max duration is reached during the execution.
>>> TimedContext(1)(time.sleep)(.01)
>>> TimedContext(0)(time.sleep)(.01)
>>> TimedContext(1)(time.sleep)(.1)
>>> TimedContext(0)(time.sleep)(.1)
Traceback (most recent call last):
...
tests._context.DeadlineExceeded: (..., 0)
Expand Down

0 comments on commit f4a04db

Please sign in to comment.