guan404ming commented on code in PR #55614:
URL: https://github.com/apache/airflow/pull/55614#discussion_r2348324310


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_task_instances.py:
##########
@@ -1225,6 +1227,24 @@ class TestGetTaskInstances(TestTaskInstanceEndpoint):
                 5,
                 id="test operator type filter filter",
             ),
+            pytest.param(
+                [
+                    {"map_index": -1},
+                    {"map_index": 0},
+                    {"map_index": 1},
+                    {"map_index": 2},
+                    {"map_index": 3},
+                    {"map_index": 4},
+                    {"map_index": 5},
+                    {"map_index": 6},
+                    {"map_index": 7},
+                ],
+                True,
+                ("/dags/~/dagRuns/~/taskInstances"),
+                {"map_index": [-1, 0, 1]},
+                9,

Review Comment:
   There are some preset data where `map_index == -1` here so the 9 is 
expected. Let me update the test case to prevent confusion.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to