This is an automated email from the ASF dual-hosted git repository.
utkarsharma pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new 0286c95d75 mark test_task_workflow_trigger_success as flaky (#42972)
(#43580)
0286c95d75 is described below
commit 0286c95d754aa9d77cce3834544415bf7786471f
Author: Utkarsh Sharma <[email protected]>
AuthorDate: Fri Nov 1 17:00:57 2024 +0530
mark test_task_workflow_trigger_success as flaky (#42972) (#43580)
(cherry picked from commit f1735b4c0c4743ccd747a60c88310d6ef45bbdc7)
Co-authored-by: GPK <[email protected]>
---
tests/triggers/test_external_task.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/triggers/test_external_task.py
b/tests/triggers/test_external_task.py
index 7bb41c3450..d0343807df 100644
--- a/tests/triggers/test_external_task.py
+++ b/tests/triggers/test_external_task.py
@@ -42,6 +42,7 @@ class TestWorkflowTrigger:
RUN_ID = "external_task_run_id"
STATES = ["success", "fail"]
+ @pytest.mark.flaky(reruns=5)
@mock.patch("airflow.triggers.external_task._get_count")
@pytest.mark.asyncio
async def test_task_workflow_trigger_success(self, mock_get_count):