Skip to content

Commit f4a04db

Browse files
committed
Use longer sleep times in the hopes of reducing flakiness on Windows.
1 parent a730c30 commit f4a04db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class TimedContext(contextlib.ContextDecorator):
1111
A context that will raise DeadlineExceeded if the
1212
max duration is reached during the execution.
1313
14-
>>> TimedContext(1)(time.sleep)(.01)
15-
>>> TimedContext(0)(time.sleep)(.01)
14+
>>> TimedContext(1)(time.sleep)(.1)
15+
>>> TimedContext(0)(time.sleep)(.1)
1616
Traceback (most recent call last):
1717
...
1818
tests._context.DeadlineExceeded: (..., 0)

0 commit comments

Comments
 (0)