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/04/25 15:09:12 UTC

[airflow] 04/04: Update the TEST_ENDPOINT_ID to use the valid format

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

commit d4a33480550db841657b998c0b4464feffec0ef9
Author: cont-m-nakagawa <na...@gmail.com>
AuthorDate: Wed Apr 20 16:32:06 2022 +0900

    Update the TEST_ENDPOINT_ID to use the valid format
---
 tests/providers/google/cloud/hooks/vertex_ai/test_endpoint_service.py | 2 +-
 tests/providers/google/cloud/operators/test_vertex_ai.py              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/providers/google/cloud/hooks/vertex_ai/test_endpoint_service.py b/tests/providers/google/cloud/hooks/vertex_ai/test_endpoint_service.py
index 146a1a555e..ac49e3bae5 100644
--- a/tests/providers/google/cloud/hooks/vertex_ai/test_endpoint_service.py
+++ b/tests/providers/google/cloud/hooks/vertex_ai/test_endpoint_service.py
@@ -31,7 +31,7 @@ TEST_GCP_CONN_ID: str = "test-gcp-conn-id"
 TEST_REGION: str = "test-region"
 TEST_PROJECT_ID: str = "test-project-id"
 TEST_ENDPOINT: dict = {}
-TEST_ENDPOINT_ID: str = "test_endpoint_id"
+TEST_ENDPOINT_ID: str = "1234567890"
 TEST_ENDPOINT_NAME: str = "test_endpoint_name"
 TEST_DEPLOYED_MODEL: dict = {}
 TEST_DEPLOYED_MODEL_ID: str = "test-deployed-model-id"
diff --git a/tests/providers/google/cloud/operators/test_vertex_ai.py b/tests/providers/google/cloud/operators/test_vertex_ai.py
index e90cc3e2ee..51e6674344 100644
--- a/tests/providers/google/cloud/operators/test_vertex_ai.py
+++ b/tests/providers/google/cloud/operators/test_vertex_ai.py
@@ -148,7 +148,7 @@ TEST_BATCH_PREDICTION_JOB_ID = "test_batch_prediction_job_id"
 TEST_ENDPOINT = {
     "display_name": "endpoint_test",
 }
-TEST_ENDPOINT_ID = "test_endpoint_id"
+TEST_ENDPOINT_ID = "1234567890"
 TEST_DEPLOYED_MODEL = {
     # format: 'projects/{project}/locations/{location}/models/{model}'
     'model': f"projects/{GCP_PROJECT}/locations/{GCP_LOCATION}/models/test_model_id",