The GitHub Actions job "Tests (AMD)" on airflow.git/fix/azure-data-factory-flaky-test-time-mock has succeeded. Run started by GitHub user shubhamraj-git (triggered by shubhamraj-git).
Head commit for run: 66b8de566ad7d772c303375b9c35c10b97fc8d98 / shubhamraj-git <[email protected]> Fix flaky AzureDataFactory operator test by mocking time The test_execute_wait_for_termination[*-timeout] cases relied on real wall-clock time.sleep(1) calls with timeout=3, expecting exactly 4 get_pipeline_run calls. On loaded CI machines where time.sleep(1) overshoots by >0.5s, only 2 loop iterations complete before the 3-second timeout fires, giving 3 calls instead of 4. Fix by patching time.monotonic (via itertools.count) and time.sleep in the hook module, making the iteration count deterministic regardless of system load. Report URL: https://github.com/apache/airflow/actions/runs/26368964320 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
