This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-9-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 2845cfa4bc1ced6a644d839ffd6bd0f7eccf2c90
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon May 13 06:05:29 2024 +0200

    Change sorting order of parallel test types (#39579)
    
    Sorting order for test type has an impact for total execution time - the
    longest running test types should be run first, because when tests are
    run in parallel, the long running tests started later will remain
    running alone when all shorter running tests complete.
    
    This new sorting order should optimize the tests a bit better when they
    are run as complete set of tests.
    
    (cherry picked from commit b818a199ac11a2495428ab6a491cd6a703efba7f)
---
 dev/breeze/src/airflow_breeze/commands/testing_commands.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/testing_commands.py 
b/dev/breeze/src/airflow_breeze/commands/testing_commands.py
index 5cec4b404d..3666ca0c26 100644
--- a/dev/breeze/src/airflow_breeze/commands/testing_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/testing_commands.py
@@ -276,13 +276,13 @@ def _run_tests_in_pool(
     sorting_order = [
         "Providers",
         "Providers[-amazon,google]",
+        "Other",
         "Core",
+        "PythonVenv",
         "WWW",
         "CLI",
-        "Other",
         "Serialization",
         "Always",
-        "PythonVenv",
     ]
     sort_key = {item: i for i, item in enumerate(sorting_order)}
     # Put the test types in the order we want them to run

Reply via email to