Skip to content
Open
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
3 changes: 2 additions & 1 deletion src/tests/test_audio_speech_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from vllm_router.routers.routing_logic import (
RoundRobinRouter,
)
from vllm_router.services.request_service.retry import RetryConfig
from vllm_router.utils import SingletonABCMeta


Expand Down Expand Up @@ -48,7 +49,6 @@ def cleanup_singletons():
def setup():
"""Yield a (request, router) pair with all app-state dependencies patched."""
router = RoundRobinRouter()
router.max_instance_failover_reroute_attempts = 0

sd = MagicMock()
sd.get_endpoint_info.return_value = ENDPOINTS
Expand All @@ -63,6 +63,7 @@ def setup():
state.semantic_cache_available = False
state.callbacks = None
state.external_provider_registry = None
state.retry_config = RetryConfig(max_attempts=1)

req = MagicMock()
req.headers = {"content-type": "application/json"}
Expand Down
223 changes: 0 additions & 223 deletions src/tests/test_instance_failover.py

This file was deleted.

1 change: 0 additions & 1 deletion src/tests/test_multipart_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ async def router_client(backend_url, model=AUDIO_MODEL):

router = initialize_routing_logic(
RoutingLogic.ROUND_ROBIN,
max_instance_failover_reroute_attempts=0,
)
stack.callback(cleanup_routing_logic)

Expand Down
Loading
Loading