YAshhh29 commented on PR #69534:
URL: https://github.com/apache/airflow/pull/69534#issuecomment-4917421083

   Fixed the CI failures:
   
   1. The trigger tests mocked `time.monotonic` with a fixed 2-element list, 
but the asyncio event loop calls `time.monotonic` internally — it exhausted the 
mock and raised `StopIteration` (which is why only the non-DB / lowest-deps / 
compat jobs failed; the trigger tests are deselected in the DB backends). 
Switched to an ever-increasing `itertools.count` side_effect that the loop can 
call freely; the trigger's two clock reads are consecutive so measured elapsed 
is deterministic.
   2. Fixed British `serialised` → American `serialized` spellings that failed 
the docs spellcheck.
   
   Verified the trigger under a real event loop locally.
   
   ---
   Drafted-by: GitHub Copilot (Claude Opus 4.6); reviewed by @YAshhh29 before 
posting


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to