mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #20505: Add debug info to analyze sporaric failures of
test_timeout_rounding() on Windows XP buildbots.
This commit is contained in:
parent
69a2547cd5
commit
1c143b19c8
2 changed files with 10 additions and 1 deletions
|
|
@ -1182,7 +1182,10 @@ class EventLoopTestsMixin:
|
|||
# may sleep at little bit less than timeout depending on the resolution
|
||||
# of the clock used by the kernel. Tolerate 2 useless calls on these
|
||||
# platforms.
|
||||
self.assertLessEqual(self.loop._run_once_counter, 8)
|
||||
self.assertLessEqual(self.loop._run_once_counter, 8,
|
||||
{'time_info': time.get_clock_info('time'),
|
||||
'monotonic_info': time.get_clock_info('monotonic'),
|
||||
'selector': self.loop._selector.__class__.__name__})
|
||||
|
||||
|
||||
class SubprocessTestsMixin:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue