You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/12/05 02:39:36 UTC

[airflow] branch main updated: Set DAG schedule to @once in the system tests (#28063)

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 6504a3512a Set DAG schedule to @once in the system tests (#28063)
6504a3512a is described below

commit 6504a3512a4ee9fc1af7e67006678a83a49d7773
Author: Bartłomiej Hirsz <ba...@gmail.com>
AuthorDate: Mon Dec 5 03:39:26 2022 +0100

    Set DAG schedule to @once in the system tests (#28063)
    
    Change-Id: I5c203aa3e638366f3be70af19faf5c77e774293e
    
    Co-authored-by: Bartlomiej Hirsz <ba...@google.com>
---
 tests/system/providers/google/cloud/cloud_sql/example_cloud_sql.py      | 2 +-
 .../providers/google/cloud/speech_to_text/example_speech_to_text.py     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/system/providers/google/cloud/cloud_sql/example_cloud_sql.py b/tests/system/providers/google/cloud/cloud_sql/example_cloud_sql.py
index 2fe8ee8ed6..20fe5ba39a 100644
--- a/tests/system/providers/google/cloud/cloud_sql/example_cloud_sql.py
+++ b/tests/system/providers/google/cloud/cloud_sql/example_cloud_sql.py
@@ -142,7 +142,7 @@ db_patch_body = {"charset": "utf16", "collation": "utf16_general_ci"}
 
 with models.DAG(
     DAG_ID,
-    schedule=None,
+    schedule="@once",
     start_date=datetime(2021, 1, 1),
     catchup=False,
     tags=["example", "cloud_sql"],
diff --git a/tests/system/providers/google/cloud/speech_to_text/example_speech_to_text.py b/tests/system/providers/google/cloud/speech_to_text/example_speech_to_text.py
index 5c4a892784..c18ba81964 100644
--- a/tests/system/providers/google/cloud/speech_to_text/example_speech_to_text.py
+++ b/tests/system/providers/google/cloud/speech_to_text/example_speech_to_text.py
@@ -49,7 +49,7 @@ AUDIO = {"uri": f"gs://{BUCKET_NAME}/{FILE_NAME}"}
 
 with models.DAG(
     DAG_ID,
-    schedule=None,
+    schedule="@once",
     start_date=datetime(2021, 1, 1),
     catchup=False,
     tags=["example", "speech_to_text"],