From da01c71ca1f44219a06e36fa1bcb9b566e187679 Mon Sep 17 00:00:00 2001
From: Tatiana Al-Chueyr <tatiana.alchueyr@gmail.com>
Date: Thu, 5 Dec 2024 11:30:41 +0000
Subject: [PATCH] Remove pytest durations from tests

Even though the --durations flag can be very helpful in debugging and troubleshooting test durations, to have it in a permanent basis adds overhead to the tests and obfuscates us seeing more relevant data, such as coverage report.
---
 scripts/test/integration.sh | 1 -
 scripts/test/unit-cov.sh    | 1 -
 scripts/test/unit.sh        | 1 -
 3 files changed, 3 deletions(-)

diff --git a/scripts/test/integration.sh b/scripts/test/integration.sh
index 3ade2246..34bebf58 100644
--- a/scripts/test/integration.sh
+++ b/scripts/test/integration.sh
@@ -16,5 +16,4 @@ pytest -vv \
     --cov=dagfactory \
     --cov-report=term-missing \
     --cov-report=xml \
-    --durations=0 \
     -m integration
diff --git a/scripts/test/unit-cov.sh b/scripts/test/unit-cov.sh
index b17eee97..b47eab37 100644
--- a/scripts/test/unit-cov.sh
+++ b/scripts/test/unit-cov.sh
@@ -3,5 +3,4 @@ pytest \
     --cov=dagfactory \
     --cov-report=term-missing \
     --cov-report=xml \
-    --durations=0 \
     --ignore=tests/test_example_dags.py
diff --git a/scripts/test/unit.sh b/scripts/test/unit.sh
index 14089a5d..14c676a3 100644
--- a/scripts/test/unit.sh
+++ b/scripts/test/unit.sh
@@ -1,4 +1,3 @@
 pytest \
     -vv \
-    --durations=0 \
     --ignore=tests/test_example_dags.py