Skip to content

Commit

Permalink
Wait for longer in ProcessLink test: fixes an issue on Windows runner
Browse files Browse the repository at this point in the history
  • Loading branch information
kgodlewski committed Jan 10, 2025
1 parent 3ae111b commit 2266aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_process_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def on_closed(_):

link.start(on_link_closed=on_closed)
# We should never finish the sleep call, as on_closed raises SystemExit
time.sleep(5)
time.sleep(10)
assert False, "on_closed callback was not called"


Expand All @@ -184,5 +184,5 @@ def test_parent_termination():
p = multiprocessing.Process(target=parent, args=(var, event))
p.start()

assert event.wait(1)
assert event.wait(5)
assert var.value == 1

0 comments on commit 2266aac

Please sign in to comment.