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

pankaj 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 7163da9a71 Fix MLEngine system test (#39766)
7163da9a71 is described below

commit 7163da9a714e9dca6e2b2322fcb928562ce2e237
Author: VladaZakharova <80038284+vladazakhar...@users.noreply.github.com>
AuthorDate: Fri May 24 15:49:53 2024 +0200

    Fix MLEngine system test (#39766)
---
 tests/system/providers/google/cloud/ml_engine/example_mlengine.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/system/providers/google/cloud/ml_engine/example_mlengine.py 
b/tests/system/providers/google/cloud/ml_engine/example_mlengine.py
index 6bed016d35..87602da88c 100644
--- a/tests/system/providers/google/cloud/ml_engine/example_mlengine.py
+++ b/tests/system/providers/google/cloud/ml_engine/example_mlengine.py
@@ -57,7 +57,7 @@ from airflow.utils.trigger_rule import TriggerRule
 
 PROJECT_ID = os.environ.get("SYSTEM_TESTS_GCP_PROJECT", "default")
 ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID", "default")
-DAG_ID = "example_gcp_mlengine"
+DAG_ID = "gcp_mlengine"
 REGION = "us-central1"
 
 PACKAGE_DISPLAY_NAME = f"package-{DAG_ID}-{ENV_ID}".replace("_", "-")
@@ -222,7 +222,7 @@ with models.DAG(
         task_id="delete_model_version_1",
         project_id=PROJECT_ID,
         region=REGION,
-        model_id=model_id_v2,
+        model_id=model_id_v1,
         trigger_rule=TriggerRule.ALL_DONE,
     )
     # [END howto_operator_gcp_mlengine_delete_version]
@@ -232,7 +232,7 @@ with models.DAG(
         task_id="delete_model",
         project_id=PROJECT_ID,
         region=REGION,
-        model_id=model_id_v1,
+        model_id=model_id_v2,
         trigger_rule=TriggerRule.ALL_DONE,
     )
     # [END howto_operator_gcp_mlengine_delete_model]

Reply via email to