You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/04/30 19:43:12 UTC

(airflow) branch main updated: Fix failing dashboard queing tests (#50046)

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 5f4bcc1258f Fix failing dashboard queing tests (#50046)
5f4bcc1258f is described below

commit 5f4bcc1258f6351d67623ebfe191c5b5ad0e9794
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Apr 30 21:43:05 2025 +0200

    Fix failing dashboard queing tests (#50046)
    
    Main started failing after #49961
---
 .../tests/unit/api_fastapi/core_api/routes/ui/test_dashboard.py       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_dashboard.py b/airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_dashboard.py
index 031dfcc7171..693056dfbec 100644
--- a/airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_dashboard.py
+++ b/airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_dashboard.py
@@ -319,8 +319,8 @@ class TestDagStatsEndpoint:
         assert response.json() == {
             "active_dag_count": 1,
             "failed_dag_count": 0,
-            "running_dag_count": 1,
-            "queued_dag_count": 0,
+            "running_dag_count": 0,
+            "queued_dag_count": 1,
         }
 
     @pytest.mark.usefixtures("freeze_time_for_dagruns", "make_failed_dag_runs")