File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
tests/model_serving/model_server/kserve/authentication Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 2727from utilities .infra import (
2828 create_inference_token ,
2929 create_isvc_view_role ,
30+ wait_for_inference_deployment_replicas ,
3031)
3132from utilities .logger import RedactedString
3233from utilities .serving_runtime import ServingRuntimeFromTemplate
@@ -90,6 +91,10 @@ def patched_remove_raw_authentication_isvc(
9091 status = http_s3_ovms_raw_inference_service .Condition .Status .TRUE ,
9192 timeout = Timeout .TIMEOUT_2MIN ,
9293 )
94+ wait_for_inference_deployment_replicas (
95+ client = unprivileged_client ,
96+ isvc = http_s3_ovms_raw_inference_service ,
97+ )
9398 yield http_s3_ovms_raw_inference_service
9499
95100 # ResourceEditor restores auth on exit; wait for ISVC to reconcile before next test
@@ -98,6 +103,10 @@ def patched_remove_raw_authentication_isvc(
98103 status = http_s3_ovms_raw_inference_service .Condition .Status .TRUE ,
99104 timeout = Timeout .TIMEOUT_2MIN ,
100105 )
106+ wait_for_inference_deployment_replicas (
107+ client = unprivileged_client ,
108+ isvc = http_s3_ovms_raw_inference_service ,
109+ )
101110
102111
103112@pytest .fixture (scope = "class" )
You can’t perform that action at this time.
0 commit comments