From 88915cb55c14769738fcab7f1c6eaa6dcc9c2b0c Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 15 Mar 2026 20:54:37 +0200 Subject: [PATCH] server : fix wait in test_cancel_requests() test (#20601) * server : fix wait in test_cancel_requests() test * codeowners : add team for server tests --- CODEOWNERS | 1 + tools/server/tests/unit/test_completion.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CODEOWNERS b/CODEOWNERS index 4b1469d11b..4257f5927a 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -85,6 +85,7 @@ /tools/quantize/ @ggerganov /tools/rpc/ @ggml-org/ggml-rpc /tools/server/* @ggml-org/llama-server # no subdir +/tools/server/tests/ @ggml-org/llama-server /tools/server/webui/ @ggml-org/llama-webui /tools/tokenize/ @ggerganov /tools/tts/ @ggerganov diff --git a/tools/server/tests/unit/test_completion.py b/tools/server/tests/unit/test_completion.py index 2a980601ec..61042da55c 100644 --- a/tools/server/tests/unit/test_completion.py +++ b/tools/server/tests/unit/test_completion.py @@ -563,7 +563,7 @@ def test_cancel_request(): except requests.exceptions.ReadTimeout: pass # expected # make sure the slot is free - time.sleep(1) # wait for HTTP_POLLING_SECONDS + time.sleep(2) res = server.make_request("GET", "/slots") assert res.body[0]["is_processing"] == False