From c193e0d41f99cffbc87bc449e2a43bb4557bbe81 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Fri, 2 May 2025 14:11:52 +0100 Subject: [PATCH 1/2] Re-enable integration tests durations There is an apparent degradation in the speed when running our integration tests in AF3 in comparison with AF2. We're re-enabling these metrics, so we can analyse them. As an example, during the run https://github.com/astronomer/astronomer-cosmos/actions/runs/14774756080: - Run-Integration-Tests(3.9,2.10,1.9) took 12m 40s - Run-Integration-Tests(3.9,3.0,1.9) took 41m 6s --- scripts/test/integration.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test/integration.sh b/scripts/test/integration.sh index bf19b4248f..4e74601308 100644 --- a/scripts/test/integration.sh +++ b/scripts/test/integration.sh @@ -17,6 +17,7 @@ pytest -vv \ --cov=cosmos \ --cov-report=term-missing \ --cov-report=xml \ + --durations \ -m 'integration' \ --ignore=tests/perf \ --ignore=tests/test_async_example_dag.py \ From f0236ce6e54dc666ffe42fc8131ce62771275126 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Tue, 6 May 2025 10:40:05 +0100 Subject: [PATCH 2/2] Fix durations syntax --- scripts/test/integration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test/integration.sh b/scripts/test/integration.sh index 4e74601308..60bb57e057 100644 --- a/scripts/test/integration.sh +++ b/scripts/test/integration.sh @@ -17,7 +17,7 @@ pytest -vv \ --cov=cosmos \ --cov-report=term-missing \ --cov-report=xml \ - --durations \ + --durations=0 \ -m 'integration' \ --ignore=tests/perf \ --ignore=tests/test_async_example_dag.py \