Skip to content
Closed
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
18 changes: 16 additions & 2 deletions e2e/test_evaluator_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def _add_mock_provider_or_skip(
workspace=workspace,
name=name,
mock_response_body=mock_response_body,
# Keep test VMs out of controller orphan cleanup between readiness wait and job scoring.
should_autoprovision_virtual_model=False,
)
except RuntimeError as exc:
if "mock_provider_prefix is not configured" in str(exc):
Expand Down Expand Up @@ -258,8 +260,20 @@ def _create_ready_mock_model(
model_providers=[f"{workspace}/{provider.name}"],
exist_ok=True,
)
wait_for_model_entity(sdk, workspace, name, ensure_virtual_model=True)
ensure_passthrough_virtual_model(sdk, workspace, name, timeout=IGW_ROUTE_TIMEOUT_SECONDS)
wait_for_model_entity(
sdk,
workspace,
name,
ensure_virtual_model=True,
should_autoprovision_virtual_model=False,
)
ensure_passthrough_virtual_model(
sdk,
workspace,
name,
timeout=IGW_ROUTE_TIMEOUT_SECONDS,
autoprovisioned=False,
)
_wait_for_stable_model_chat_route(sdk, workspace, name)


Expand Down