Skip to content

Commit 1804fdb

Browse files
committed
fix
Signed-off-by: Charles Moore <122481442+moorec-aws@users.noreply.github.com>
1 parent 0f2d23c commit 1804fdb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/openjd/adaptor_runtime/_background/frontend_runner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,10 @@ def _wait_for_connection_file(
430430
Raises:
431431
TimeoutError: Raised when the file does not exist after timeout_s seconds.
432432
"""
433+
# Increase max_retries for Windows to account for potential filesystem delays
434+
if OSName.is_windows():
435+
max_retries = max(max_retries * 2, 10)
436+
433437
wait_for(
434438
description=f"File '{filepath}' to exist",
435439
predicate=lambda: os.path.exists(filepath),

0 commit comments

Comments
 (0)