mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-07-08 20:20:21 +00:00
server: temporary skip model downloading API test (#25355)
This commit is contained in:
@@ -314,6 +314,7 @@ def _wait_for_sse_event(collected: list, event_type: str, model: str, timeout: i
|
||||
return False
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="sse_thread sometimes hangs on GH actions, to be investigated")
|
||||
def test_router_download_model():
|
||||
"""Case 1: download a model, verify SSE events and GET /models."""
|
||||
global server
|
||||
@@ -357,6 +358,7 @@ def test_router_download_model():
|
||||
assert MODEL_DOWNLOAD_ID in ids, f"{MODEL_DOWNLOAD_ID} not found in /models after download"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="sse_thread sometimes hangs on GH actions, to be investigated")
|
||||
def test_router_delete_model():
|
||||
"""Case 2: delete the downloaded model, verify it disappears from GET /models."""
|
||||
global server
|
||||
|
||||
Reference in New Issue
Block a user