The GitHub Actions job "Tests" on 
airflow.git/fix-46402-trigger-dagrun-dynamic-dag-id-links has failed.
Run started by GitHub user hwang-cadent (triggered by hwang-cadent).

Head commit for run:
70635e17c5024e038b4cb166281f2b19d5de127b / hwang-cadent <[email protected]>
Fix flaky test_success in WasbBlobSensorTrigger and WasbPrefixSensorTrigger

The tests were failing because get_async_conn() was not mocked, causing
the async context manager to potentially block or take time to initialize.
This fix:
1. Mocks get_async_conn() to return an AsyncMock that works as an async context 
manager
2. Uses asyncio.wait_for() with a timeout instead of asyncio.sleep() to
   properly wait for the task to complete
3. Adds proper error handling for timeout cases

Report URL: https://github.com/apache/airflow/actions/runs/20999299076

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to