meel-ayush commented on code in PR #77119:
URL: https://github.com/apache/airflow/pull/77119#discussion_r4581973723


##########
devel-common/src/tests_common/pytest_plugin.py:
##########
@@ -899,14 +899,22 @@ def pytest_collection_modifyitems(config, items):
     to OOM on Python 3.14 CI runners. Deselecting during collection avoids 
distributing
     these items to workers entirely.
     """
-    if not skip_db_tests and not run_db_tests_only:
-        return
+    include_quarantined = getattr(config.option, "include_quarantined", False)
+    include_long_running = getattr(config.option, "include_long_running", 
False)
+    system = getattr(config.option, "system", False)
 
     selected = []
     deselected = []
     for item in items:
         is_db = _is_db_test(item)
-        if (skip_db_tests and is_db) or (run_db_tests_only and not is_db):
+        should_deselect = (
+            (skip_db_tests and is_db)
+            or (run_db_tests_only and not is_db)
+            or (not include_quarantined and 
item.get_closest_marker("quarantined"))

Review Comment:
   Deselecting only under xdist now.



-- 
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