You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "bkossakowska (via GitHub)" <gi...@apache.org> on 2023/07/31 07:26:12 UTC

[GitHub] [airflow] bkossakowska commented on a diff in pull request #32643: Fix CloudTasksTaskCreateOperator system test

bkossakowska commented on code in PR #32643:
URL: https://github.com/apache/airflow/pull/32643#discussion_r1278887736


##########
tests/system/providers/google/cloud/tasks/example_tasks.py:
##########
@@ -48,22 +45,20 @@
 ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
 DAG_ID = "cloud_tasks_tasks"
 
-timestamp = timestamp_pb2.Timestamp()
-timestamp.FromDatetime(datetime.now() + timedelta(hours=12))
+TIMESTAMP = timestamp_pb2.Timestamp()
+TIMESTAMP.FromDatetime(datetime.now() + timedelta(hours=12))
 
-LOCATION = os.environ.get("GCP_APP_ENGINE_LOCATION", "europe-west2")
+REGION = "us-central1"

Review Comment:
   changed the `region` to `location`,
   location is not always referenced in all system tests



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org