Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 34f522d

Browse files
namchuaihiento09
authored andcommitted
update
1 parent b952671 commit 34f522d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

engine/e2e-test/test_runner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ def stop_server():
168168

169169

170170
async def wait_for_websocket_download_success_event(timeout: float = 30):
171+
if platform.system() == 'Windows':
172+
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
171173
async with websockets.connect("ws://127.0.0.1:3928/events") as websocket:
172174
try:
173175
# Using wait_for instead of timeout context manager

0 commit comments

Comments
 (0)