Skip to content

Commit 867bf48

Browse files
rnetseradolfo-ab
authored andcommitted
feat: add ocp_interop marker (opendatahub-io#260)
1 parent d53a205 commit 867bf48

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ markers =
1616
pre_upgrade: Mark tests which should be run before upgrading the product.
1717
post_upgrade: Mark tests which should be run after upgrading the product.
1818
fuzzer: Mark tests that use fuzzing and are probably going to generate unanticipated failures.
19+
ocp_interop: Interop testing with Openshift.
1920

2021
# Model server
2122
modelmesh: Mark tests which are model mesh tests

tests/model_serving/model_server/authentication/test_kserve_token_authentication_raw.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
)
2626
class TestKserveTokenAuthenticationRawForRest:
2727
@pytest.mark.smoke
28+
@pytest.mark.ocp_interop
2829
@pytest.mark.dependency(name="test_model_authentication_using_rest_raw")
2930
def test_model_authentication_using_rest_raw(self, http_s3_caikit_raw_inference_service, http_raw_inference_token):
3031
"""Verify RAW Kserve model query with token using REST"""

tests/model_serving/model_server/authentication/test_kserve_token_authentication_serverless.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
)
2323
class TestKserveServerlessTokenAuthentication:
2424
@pytest.mark.smoke
25+
@pytest.mark.ocp_interop
2526
@pytest.mark.dependency(name="test_model_authentication_using_rest")
2627
def test_model_authentication_using_rest(self, http_s3_caikit_serverless_inference_service, http_inference_token):
2728
"""Verify model query with token using REST"""
@@ -36,6 +37,7 @@ def test_model_authentication_using_rest(self, http_s3_caikit_serverless_inferen
3637
)
3738

3839
@pytest.mark.smoke
40+
@pytest.mark.ocp_interop
3941
def test_model_authentication_using_grpc(self, grpc_s3_inference_service, grpc_inference_token):
4042
"""Verify model query with token using GRPC"""
4143
verify_inference_response(

tests/model_serving/model_server/authentication/test_model_mesh_authentication.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
class TestModelMeshAuthentication:
2626
"""Model Mesh Authentication is based on the created Service; cross-model authentication is not blocked"""
2727

28+
@pytest.mark.ocp_interop
2829
@pytest.mark.dependency(name="test_model_mesh_model_authentication_openvino_inference_with_tensorflow")
2930
def test_model_mesh_model_authentication_openvino_inference_with_tensorflow(
3031
self,

tests/model_serving/model_server/components/test_model_serving_components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def component_deployment(
4141

4242

4343
@pytest.mark.smoke
44+
@pytest.mark.ocp_interop
4445
@pytest.mark.parametrize(
4546
"component_deployment",
4647
[

tests/model_serving/model_server/model_car/test_oci_image.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def test_model_car_no_restarts(self, model_car_serverless_inference_service):
4242
assert not restarted_containers, f"Containers {restarted_containers} restarted"
4343

4444
@pytest.mark.smoke
45+
@pytest.mark.ocp_interop
4546
@pytest.mark.jira("RHOAIENG-12306")
4647
def test_model_car_using_rest(self, model_car_serverless_inference_service):
4748
"""Verify model query with token using REST"""

0 commit comments

Comments
 (0)