forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added unit tests and restructred
await_xcom_sidecar_container_start
…
… method. (apache#42504) * Added unit tests and restructred `await_xcom_sidecar_container_start` method. - The `await_xcom_sidecar_container_start` method in `PodManager` checks if the xcom sidecar container has started running before executing `do_xcom_push`. - The function logs the status periodically and raises an `AirflowException` if the container does not start within the specified timeout. - Added two unit tests: - `test_await_xcom_sidecar_container_timeout`: Verifies that an `AirflowException` is raised if the sidecar container fails to start within the timeout. - `test_await_xcom_sidecar_container_starts`: Confirms the method successfully exits when the sidecar container starts. * Fixed the assertion test failures
- Loading branch information
1 parent
455caf1
commit 0120515
Showing
2 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters