File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11import asyncio
22import logging
33
4- import choreographer as choreo
54import logistro
65import pytest
76import pytest_asyncio
7+
8+ import choreographer as choreo
89from choreographer import errors
910
1011_logger = logistro .getLogger (__name__ )
@@ -95,7 +96,7 @@ async def wrapped_test_fn(*args, **kwargs):
9596
9697def pytest_configure ():
9798 # change this by command line TODO
98- pytest .default_timeout = 20 # type: ignore[reportAttributeAccessIssue]
99+ pytest .default_timeout = 24 # type: ignore[reportAttributeAccessIssue]
99100
100101
101102# pytest shuts down its capture before logging/threads finish
Original file line number Diff line number Diff line change @@ -137,7 +137,10 @@ async def test_browser_send_command_with_perf(browser):
137137
138138 # Validate timing makes sense (write_start <= write_end <= read_end)
139139 write_start , write_end , read_end = perf
140- assert write_start <= write_end <= read_end
140+ assert write_start <= write_end
141+ assert write_start <= read_end
142+ # read_end is tough because it happens on a different processor
143+ # and it might actually be somewhat skewed
141144
142145 perfs .append (perf )
143146 await asyncio .sleep (0.1 )
You can’t perform that action at this time.
0 commit comments