Skip to content

Commit

Permalink
Merge pull request #28658: [release-2.51.0] Cherrypick #28571 to rele…
Browse files Browse the repository at this point in the history
…ase branch.
  • Loading branch information
kennknowles authored Sep 26, 2023
2 parents 22abcde + 94adacd commit 34ff286
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@


class VertexAIInference(unittest.TestCase):
@pytest.mark.uses_vertex_ai
@pytest.mark.it_postcommit
@pytest.mark.vertex_ai_postcommit
def test_vertex_ai_run_flower_image_classification(self):
output_file = '/'.join([_OUTPUT_DIR, str(uuid.uuid4()), 'output.txt'])

Expand Down
2 changes: 1 addition & 1 deletion sdks/python/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ markers =
uses_onnx: tests that utilizes onnx in some way.
uses_tf: tests that utilize tensorflow.
uses_transformers: tests that utilize transformers in some way.
uses_vertex_ai: tests that utilize vertex ai in some way.
vertex_ai_postcommit: vertex ai postcommits that need additional deps.

# Default timeout intended for unit tests.
# If certain tests need a different value, please see the docs on how to
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/test-suites/dataflow/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ task vertexAIInferenceTest {
def argMap = [
"test_opts": testOpts,
"suite": "VertexAITests-df-py${pythonVersionSuffix}",
"collect": "uses_vertex_ai and it_postcommit" ,
"collect": "vertex_ai_postcommit" ,
"runner": "TestDataflowRunner",
"requirements_file": "$requirementsFile"
]
Expand Down

0 comments on commit 34ff286

Please sign in to comment.