Skip to content

Commit 34ff286

Browse files
authored
Merge pull request #28658: [release-2.51.0] Cherrypick #28571 to release branch.
2 parents 22abcde + 94adacd commit 34ff286

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

sdks/python/apache_beam/ml/inference/vertex_ai_inference_it_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646

4747

4848
class VertexAIInference(unittest.TestCase):
49-
@pytest.mark.uses_vertex_ai
50-
@pytest.mark.it_postcommit
49+
@pytest.mark.vertex_ai_postcommit
5150
def test_vertex_ai_run_flower_image_classification(self):
5251
output_file = '/'.join([_OUTPUT_DIR, str(uuid.uuid4()), 'output.txt'])
5352

sdks/python/pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ markers =
6060
uses_onnx: tests that utilizes onnx in some way.
6161
uses_tf: tests that utilize tensorflow.
6262
uses_transformers: tests that utilize transformers in some way.
63-
uses_vertex_ai: tests that utilize vertex ai in some way.
63+
vertex_ai_postcommit: vertex ai postcommits that need additional deps.
6464

6565
# Default timeout intended for unit tests.
6666
# If certain tests need a different value, please see the docs on how to

sdks/python/test-suites/dataflow/common.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ task vertexAIInferenceTest {
417417
def argMap = [
418418
"test_opts": testOpts,
419419
"suite": "VertexAITests-df-py${pythonVersionSuffix}",
420-
"collect": "uses_vertex_ai and it_postcommit" ,
420+
"collect": "vertex_ai_postcommit" ,
421421
"runner": "TestDataflowRunner",
422422
"requirements_file": "$requirementsFile"
423423
]

0 commit comments

Comments
 (0)