Skip to content

Commit 5bf98cc

Browse files
committed
fix: reduce tier1 run time
1 parent ba9e777 commit 5bf98cc

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/model_registry/model_catalog/catalog_config/test_default_source_inclusion_exclusion_cleanup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class TestModelInclusionFiltering:
4040
),
4141
pytest.param(
4242
{"filter_type": "inclusion", "pattern": "prometheus", "filter_value": "*prometheus*"},
43-
marks=pytest.mark.tier1,
43+
marks=pytest.mark.tier2,
4444
id="test_include_prometheus_models_only",
4545
),
4646
pytest.param(
@@ -143,7 +143,7 @@ class TestCombinedIncludeExcludeFiltering:
143143
"exclude_pattern": "code",
144144
"exclude_filter_value": "*code*",
145145
},
146-
marks=pytest.mark.tier1,
146+
marks=pytest.mark.tier2,
147147
id="include_eight_b_exclude_code",
148148
),
149149
],
@@ -171,7 +171,7 @@ def test_combined_include_exclude_filtering(
171171
class TestModelCleanupLifecycle:
172172
"""Test automatic model cleanup during lifecycle changes (RHOAIENG-41846)"""
173173

174-
@pytest.mark.tier1
174+
@pytest.mark.tier2
175175
def test_model_cleanup_on_exclusion_change(
176176
self,
177177
admin_client: DynamicClient,

tests/model_registry/model_catalog/huggingface/test_huggingface_model_deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TestHuggingFaceModelDeployment:
3333
Tests the complete deployment workflow from ServingRuntime to InferenceService.
3434
"""
3535

36-
@pytest.mark.tier1
36+
@pytest.mark.tier2
3737
def test_huggingface_model_deployment_end_to_end(
3838
self,
3939
admin_client: DynamicClient,

tests/model_registry/model_registry/rbac/test_mr_rbac.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class TestUserMultiProjectPermission:
181181
MR_MULTIPROJECT_TEST_SCENARIO_PARAMS,
182182
indirect=True,
183183
)
184-
@pytest.mark.tier1
184+
@pytest.mark.tier2
185185
def test_user_permission_multi_project_parametrized(
186186
self: Self,
187187
is_byoidc: bool,

tests/model_registry/model_registry/rest_api/test_model_registry_rest_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{"db_name": "postgres"},
4545
{"db_name": "postgres"},
4646
MODEL_REGISTER_DATA,
47-
marks=(pytest.mark.tier1),
47+
marks=(pytest.mark.tier2),
4848
),
4949
pytest.param(
5050
{"db_name": "default"},

tests/model_registry/model_registry/rest_api/test_multiple_mr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_validate_multiple_model_registry(
5454
)
5555
LOGGER.info(f"{mr.name} found")
5656

57-
@pytest.mark.tier1
57+
@pytest.mark.tier2
5858
def test_validate_one_model_catalog_configmap(
5959
self: Self, admin_client: DynamicClient, model_registry_namespace: str
6060
):
@@ -84,7 +84,7 @@ def test_validate_model_catalog_pods(self: Self, admin_client: DynamicClient, mo
8484
f"Expected {expected_number_pods} model catalog pods, found: {[pod.name for pod in catalog_pods]}"
8585
)
8686

87-
@pytest.mark.tier1
87+
@pytest.mark.tier2
8888
def test_validate_register_models_multiple_registries(
8989
self: Self, model_registry_rest_url: list[str], model_registry_rest_headers: dict[str, str]
9090
):

0 commit comments

Comments
 (0)