This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 275e48a062a Lower bound spy calls check (#44177)
275e48a062a is described below

commit 275e48a062a356335cdf5170cbb80ed39b0eb635
Author: GPK <[email protected]>
AuthorDate: Tue Nov 19 10:54:13 2024 +0000

    Lower bound spy calls check (#44177)
    
    * lower bound spy calls check
    
    * lower bound spy calls check
---
 task_sdk/tests/execution_time/test_supervisor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/task_sdk/tests/execution_time/test_supervisor.py 
b/task_sdk/tests/execution_time/test_supervisor.py
index f741d7c21b5..5ed51fece51 100644
--- a/task_sdk/tests/execution_time/test_supervisor.py
+++ b/task_sdk/tests/execution_time/test_supervisor.py
@@ -190,4 +190,4 @@ class TestWatchedSubprocess:
         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

Reply via email to