Skip to content

Commit be10631

Browse files
matthew29tangcopybara-github
authored andcommitted
chore: Temporarily disable system tests for generative_models staging endpoint
PiperOrigin-RevId: 689199957
1 parent c4b9ec2 commit be10631

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.kokoro/continuous/common.cfg

+9-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-python"
1717
build_file: "python-aiplatform/.kokoro/trampoline.sh"
1818

1919
# Fetch vertexai staging endpoint
20-
before_action {
21-
fetch_keystore {
22-
keystore_resource {
23-
keystore_config_id: 73713
24-
keyname: "vertexai-staging-endpoint-1"
25-
}
26-
}
27-
}
20+
# Temporarily disabled due to b/375256339
21+
# before_action {
22+
# fetch_keystore {
23+
# keystore_resource {
24+
# keystore_config_id: 73713
25+
# keyname: "vertexai-staging-endpoint-1"
26+
# }
27+
# }
28+
# }
2829

2930
# Configure the docker image for kokoro-trampoline.
3031
env_vars: {

tests/system/vertexai/test_generative_models.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ def get_current_weather(location: str, unit: str = "centigrade"):
8989
}
9090

9191

92-
@pytest.mark.parametrize(
93-
"api_endpoint_env_name", [STAGING_API_ENDPOINT, PROD_API_ENDPOINT]
94-
)
92+
@pytest.mark.parametrize("api_endpoint_env_name", [PROD_API_ENDPOINT])
9593
class TestGenerativeModels(e2e_base.TestEndToEnd):
9694
"""System tests for generative models."""
9795

tests/system/vertexai/test_tokenization.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@
110110
PROD_API_ENDPOINT = "PROD_ENDPOINT"
111111

112112

113-
@pytest.mark.parametrize(
114-
"api_endpoint_env_name", [STAGING_API_ENDPOINT, PROD_API_ENDPOINT]
115-
)
113+
@pytest.mark.parametrize("api_endpoint_env_name", [PROD_API_ENDPOINT])
116114
class TestTokenization(e2e_base.TestEndToEnd):
117115
"""System tests for tokenization."""
118116

0 commit comments

Comments
 (0)