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

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new ac4acf9  Increase timeouts for setup/teardown in pytest (#18505)
ac4acf9 is described below

commit ac4acf9c5197bd96fbbcd50a83ef3266bfc366a7
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Sep 24 18:02:54 2021 +0200

    Increase timeouts for setup/teardown in pytest (#18505)
    
    For some unknown reason recently some tests started to fail
    on setup timout exceeding 20 seconds. Those tests have NO setup
    so it likely a side-effect of other tests (for example with some
    process cleanup that takes more time/CPU.
    
    This change attempts to fix it by simply increasing the timeout
    to 60 seconds. If it works - fine, but if not, it will be indication
    that we have a deeper problem to fix.
---
 scripts/in_container/entrypoint_ci.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/in_container/entrypoint_ci.sh 
b/scripts/in_container/entrypoint_ci.sh
index 766ea10..29f5210 100755
--- a/scripts/in_container/entrypoint_ci.sh
+++ b/scripts/in_container/entrypoint_ci.sh
@@ -215,9 +215,9 @@ EXTRA_PYTEST_ARGS=(
     # timeouts in seconds for individual tests
     "--timeouts-order"
     "moi"
-    "--setup-timeout=20"
+    "--setup-timeout=60"
     "--execution-timeout=60"
-    "--teardown-timeout=20"
+    "--teardown-timeout=60"
     # Only display summary for non-expected case
     # f - failed
     # E - error

Reply via email to