apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.27k stars 14.34k forks source link

Lower bound spy calls check #44177

Closed gopidesupavan closed 3 days ago

gopidesupavan commented 3 days ago

Updating test_regular_heartbeat spy.calls assert to minimum one spy call.

https://github.com/apache/airflow/actions/runs/11904772863/job/33174379856#step:9:840 https://github.com/apache/airflow/actions/runs/11909113739/job/33186211665?pr=44174#step:9:668


^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

gopidesupavan commented 3 days ago

WDYT? I noticed that some of the tests are passing but also failing in a few runs. is that fine check minimum 1 , i see it is completely depending on the timing. :)