This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 41508f23ad Mark test_task_workflow_trigger_skipped as flaky (#41115)
41508f23ad is described below
commit 41508f23ad87bdf410978ff96e62d8057d17d9d0
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Jul 30 12:11:04 2024 +0200
Mark test_task_workflow_trigger_skipped as flaky (#41115)
The suite of tests in TestWorkflowTrigger regarding the async io
seems pretty flaky - it keeps on failing randomly and we keep
on adding more tests as flaky - this is the next one.
We likely should address it more generically and implement better
harness for those tests - this is captured in #41114
---
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 269e53f4ef..794d418e1f 100644
--- a/tests/triggers/test_external_task.py
+++ b/tests/triggers/test_external_task.py
@@ -137,6 +137,7 @@ class TestWorkflowTrigger:
with pytest.raises(StopAsyncIteration):
await gen.__anext__()
+ @pytest.mark.flaky(reruns=5)
@mock.patch("airflow.triggers.external_task._get_count")
@pytest.mark.asyncio
async def test_task_workflow_trigger_skipped(self, mock_get_count):