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

potiuk 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 206ce3e023 Disable tests for DB isolation only when running 
"start-airflow" (#41139)
206ce3e023 is described below

commit 206ce3e023bcf1d63486ad81cece3503a2763406
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Jul 31 09:47:22 2024 +0200

    Disable tests for DB isolation only when running "start-airflow" (#41139)
---
 Dockerfile.ci                   | 2 +-
 scripts/docker/entrypoint_ci.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile.ci b/Dockerfile.ci
index 226694389a..7dc8971d35 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -911,7 +911,7 @@ function environment_initialization() {
         # the internal API server
         export 
AIRFLOW__CORE__INTERNAL_API_SECRET_KEY="Z27xjUwQTz4txlWZyJzLqg=="
         export 
AIRFLOW__CORE__FERNET_KEY="l7KBR9aaH2YumhL1InlNf24gTNna8aW2WiwF2s-n_PE="
-        if [[ ${RUN_TESTS} == "true" ]]; then
+        if [[ ${START_AIRFLOW=} != "true" ]]; then
             export RUN_TESTS_WITH_DATABASE_ISOLATION="true"
         fi
     fi
diff --git a/scripts/docker/entrypoint_ci.sh b/scripts/docker/entrypoint_ci.sh
index a014cd091f..704315ccde 100755
--- a/scripts/docker/entrypoint_ci.sh
+++ b/scripts/docker/entrypoint_ci.sh
@@ -129,7 +129,7 @@ function environment_initialization() {
         # the internal API server
         export 
AIRFLOW__CORE__INTERNAL_API_SECRET_KEY="Z27xjUwQTz4txlWZyJzLqg=="
         export 
AIRFLOW__CORE__FERNET_KEY="l7KBR9aaH2YumhL1InlNf24gTNna8aW2WiwF2s-n_PE="
-        if [[ ${RUN_TESTS} == "true" ]]; then
+        if [[ ${START_AIRFLOW=} != "true" ]]; then
             export RUN_TESTS_WITH_DATABASE_ISOLATION="true"
         fi
     fi

Reply via email to