[V1] Simplify Shutdown (#11659)

This commit is contained in:
Robert Shaw
2025-01-03 12:25:38 -05:00
committed by GitHub
parent e1a5c2f0a1
commit 80c751e7f6
7 changed files with 40 additions and 58 deletions

View File

@@ -142,9 +142,6 @@ def test_engine_core_client(monkeypatch, multiprocessing_mode: bool):
client.abort_requests([request.request_id])
# Shutdown the client.
client.shutdown()
@pytest.mark.asyncio
async def test_engine_core_client_asyncio(monkeypatch):
@@ -200,6 +197,3 @@ async def test_engine_core_client_asyncio(monkeypatch):
else:
assert len(outputs[req_id]) == MAX_TOKENS, (
f"{len(outputs[req_id])=}, {MAX_TOKENS=}")
# Shutdown the client.
client.shutdown()