Skip to content

Commit

Permalink
Lower bound spy calls check (apache#44177)
Browse files Browse the repository at this point in the history
* lower bound spy calls check

* lower bound spy calls check
  • Loading branch information
gopidesupavan authored Nov 19, 2024
1 parent 55b30b2 commit 275e48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task_sdk/tests/execution_time/test_supervisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,4 @@ def subprocess_main():
assert proc.wait() == 0
assert spy.called_with(id, pid=proc.pid) # noqa: PGH005
# The exact number we get will depend on timing behaviour, so be a little lenient
assert 2 <= len(spy.calls) <= 4
assert 1 <= len(spy.calls) <= 4

0 comments on commit 275e48a

Please sign in to comment.