Skip to content

Commit

Permalink
Make SharedVar tests wait a bit longer in case of slow process startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kgodlewski committed Dec 17, 2024
1 parent 8a39847 commit a10bacb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_shared_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _child(var):
var.value = 1
var.notify_all()

var.wait(timeout=1)
assert var.wait(timeout=10)
assert var.value == 2


Expand All @@ -24,7 +24,7 @@ def test_set_and_notify(tp):
process = Process(target=_child, args=(var,))
process.start()

var.wait(timeout=1)
assert var.wait(timeout=10)
assert var.value == 1

with var:
Expand Down

0 comments on commit a10bacb

Please sign in to comment.