Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ markers =
pre_upgrade: Mark tests which should be run before upgrading the product.
post_upgrade: Mark tests which should be run after upgrading the product.
fuzzer: Mark tests that use fuzzing and are probably going to generate unanticipated failures.
ocp_interop: Interop testing with Openshift.

# Model server
modelmesh: Mark tests which are model mesh tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
)
class TestKserveTokenAuthenticationRawForRest:
@pytest.mark.smoke
@pytest.mark.ocp_interop
@pytest.mark.dependency(name="test_model_authentication_using_rest_raw")
def test_model_authentication_using_rest_raw(self, http_s3_caikit_raw_inference_service, http_raw_inference_token):
"""Verify RAW Kserve model query with token using REST"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
)
class TestKserveServerlessTokenAuthentication:
@pytest.mark.smoke
@pytest.mark.ocp_interop
@pytest.mark.dependency(name="test_model_authentication_using_rest")
def test_model_authentication_using_rest(self, http_s3_caikit_serverless_inference_service, http_inference_token):
"""Verify model query with token using REST"""
Expand All @@ -36,6 +37,7 @@ def test_model_authentication_using_rest(self, http_s3_caikit_serverless_inferen
)

@pytest.mark.smoke
@pytest.mark.ocp_interop
def test_model_authentication_using_grpc(self, grpc_s3_inference_service, grpc_inference_token):
"""Verify model query with token using GRPC"""
verify_inference_response(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
class TestModelMeshAuthentication:
"""Model Mesh Authentication is based on the created Service; cross-model authentication is not blocked"""

@pytest.mark.ocp_interop
@pytest.mark.dependency(name="test_model_mesh_model_authentication_openvino_inference_with_tensorflow")
def test_model_mesh_model_authentication_openvino_inference_with_tensorflow(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def component_deployment(


@pytest.mark.smoke
@pytest.mark.ocp_interop
@pytest.mark.parametrize(
"component_deployment",
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def test_model_car_no_restarts(self, model_car_serverless_inference_service):
assert not restarted_containers, f"Containers {restarted_containers} restarted"

@pytest.mark.smoke
@pytest.mark.ocp_interop
@pytest.mark.jira("RHOAIENG-12306")
def test_model_car_using_rest(self, model_car_serverless_inference_service):
"""Verify model query with token using REST"""
Expand Down