Skip to content

Commit e0cdafe

Browse files
Added Pytest markers Smoke & Sanity for Runtime tests (#451)
* Added Pytest markers for Runtime tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7354690 commit e0cdafe

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

tests/model_serving/model_runtime/mlserver/basic_model_deployment/test_catboost_basic_model_deployment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
)
4444

4545

46+
@pytest.mark.sanity
4647
@pytest.mark.parametrize(
4748
("protocol", "model_namespace", "mlserver_inference_service", "s3_models_storage_uri", "mlserver_serving_runtime"),
4849
[

tests/model_serving/model_runtime/mlserver/basic_model_deployment/test_lightgbm_basic_model_deployment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
)
4444

4545

46+
@pytest.mark.smoke
4647
@pytest.mark.parametrize(
4748
("protocol", "model_namespace", "mlserver_inference_service", "s3_models_storage_uri", "mlserver_serving_runtime"),
4849
[

tests/model_serving/model_runtime/mlserver/basic_model_deployment/test_mlflow_basic_model_deployment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
)
4444

4545

46+
@pytest.mark.smoke
4647
@pytest.mark.parametrize(
4748
("protocol", "model_namespace", "mlserver_inference_service", "s3_models_storage_uri", "mlserver_serving_runtime"),
4849
[

tests/model_serving/model_runtime/mlserver/basic_model_deployment/test_sklearn_basic_model_deployment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
)
4444

4545

46+
@pytest.mark.sanity
4647
@pytest.mark.parametrize(
4748
("protocol", "model_namespace", "mlserver_inference_service", "s3_models_storage_uri", "mlserver_serving_runtime"),
4849
[

tests/model_serving/model_runtime/triton/basic_model_deployment/test_onnx_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
)
3333

3434

35+
@pytest.mark.sanity
3536
@pytest.mark.parametrize(
3637
("protocol", "model_namespace", "s3_models_storage_uri", "triton_serving_runtime", "triton_inference_service"),
3738
[

tests/model_serving/model_runtime/triton/basic_model_deployment/test_python_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
)
3333

3434

35+
@pytest.mark.smoke
3536
@pytest.mark.parametrize(
3637
("protocol", "model_namespace", "s3_models_storage_uri", "triton_serving_runtime", "triton_inference_service"),
3738
[

0 commit comments

Comments
 (0)