From: Georgi Gerganov Date: Sun, 15 Mar 2026 18:54:37 +0000 (+0200) Subject: server : fix wait in test_cancel_requests() test (#20601) X-Git-Tag: upstream/0.0.8611~244 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=88915cb55c14769738fcab7f1c6eaa6dcc9c2b0c;p=pkg%2Fggml%2Fsources%2Fllama.cpp server : fix wait in test_cancel_requests() test (#20601) * server : fix wait in test_cancel_requests() test * codeowners : add team for server tests --- diff --git a/CODEOWNERS b/CODEOWNERS index 4b1469d11..4257f5927 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 2a980601e..61042da55 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