You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2021/09/29 20:20:01 UTC

[airflow] branch main updated: Fix helm chart unittests on public runners (#18553)

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

jedcunningham 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 1763180  Fix helm chart unittests on public runners (#18553)
1763180 is described below

commit 176318070c3435bf59c4bf90fa690756104fc1bb
Author: Jed Cunningham <66...@users.noreply.github.com>
AuthorDate: Wed Sep 29 14:19:41 2021 -0600

    Fix helm chart unittests on public runners (#18553)
    
    The helm tests are now regularly taking longer than 25 minutes on public
    GitHub Actions workers, so we will increase the timeout.
---
 scripts/ci/libraries/_parallel.sh            | 2 +-
 scripts/ci/testing/ci_run_airflow_testing.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/ci/libraries/_parallel.sh b/scripts/ci/libraries/_parallel.sh
index d5ff807..3df2234 100644
--- a/scripts/ci/libraries/_parallel.sh
+++ b/scripts/ci/libraries/_parallel.sh
@@ -173,7 +173,7 @@ function parallel::print_job_summary_and_return_status_code() {
         if [[ -s "${status_file}"  ]]; then
             status=$(cat "${status_file}")
         else
-            echo "${COLOR_RED}Missing ${status_file}  file"
+            echo "${COLOR_RED}Missing ${status_file} file"
             status="1"
         fi
         if [[ ${status} == "0" ]]; then
diff --git a/scripts/ci/testing/ci_run_airflow_testing.sh b/scripts/ci/testing/ci_run_airflow_testing.sh
index b907ca0..8d7440c 100755
--- a/scripts/ci/testing/ci_run_airflow_testing.sh
+++ b/scripts/ci/testing/ci_run_airflow_testing.sh
@@ -45,10 +45,10 @@ function run_test_types_in_parallel() {
         mkdir -p "${PARALLEL_MONITORED_DIR}/${SEMAPHORE_NAME}/${TEST_TYPE}"
         export JOB_LOG="${PARALLEL_MONITORED_DIR}/${SEMAPHORE_NAME}/${TEST_TYPE}/stdout"
         export PARALLEL_JOB_STATUS="${PARALLEL_MONITORED_DIR}/${SEMAPHORE_NAME}/${TEST_TYPE}/status"
-        # Each test job will get SIGTERM followed by SIGTERM 200ms later and SIGKILL 200ms later after 25 mins
+        # Each test job will get SIGTERM followed by SIGTERM 200ms later and SIGKILL 200ms later after 35 mins
         # shellcheck disable=SC2086
         parallel --ungroup --bg --semaphore --semaphorename "${SEMAPHORE_NAME}" \
-            --jobs "${MAX_PARALLEL_TEST_JOBS}" --timeout 1500 \
+            --jobs "${MAX_PARALLEL_TEST_JOBS}" --timeout 2100 \
             "$( dirname "${BASH_SOURCE[0]}" )/ci_run_single_airflow_test_in_docker.sh" "${@}" >"${JOB_LOG}" 2>&1
     done
     parallel --semaphore --semaphorename "${SEMAPHORE_NAME}" --wait