Skip to content

Commit 370a7f9

Browse files
committed
fix performance test
1 parent 2c7c39a commit 370a7f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

performance/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ def setup_logging(level=logging.DEBUG, use_file: bool = False):
2323
logging.basicConfig(level=level, handlers=handlers)
2424

2525

26-
setup_logging(logging.DEBUG)
26+
setup_logging(logging.ERROR)

performance/test_performance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def on_ready(rs):
5353
server_task = asyncio.create_task(run_server(unused_tcp_port, on_ready=on_ready))
5454

5555
try:
56+
await asyncio.sleep(1) # wait for server
5657
async with run_with_client(unused_tcp_port) as client:
5758
await server_ready.wait()
5859
yield client

0 commit comments

Comments
 (0)