Skip to content

Commit 88915cb

Browse files
authored
server : fix wait in test_cancel_requests() test (ggml-org#20601)
* server : fix wait in test_cancel_requests() test * codeowners : add team for server tests
1 parent ebbf544 commit 88915cb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
/tools/quantize/ @ggerganov
8686
/tools/rpc/ @ggml-org/ggml-rpc
8787
/tools/server/* @ggml-org/llama-server # no subdir
88+
/tools/server/tests/ @ggml-org/llama-server
8889
/tools/server/webui/ @ggml-org/llama-webui
8990
/tools/tokenize/ @ggerganov
9091
/tools/tts/ @ggerganov

tools/server/tests/unit/test_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def test_cancel_request():
563563
except requests.exceptions.ReadTimeout:
564564
pass # expected
565565
# make sure the slot is free
566-
time.sleep(1) # wait for HTTP_POLLING_SECONDS
566+
time.sleep(2)
567567
res = server.make_request("GET", "/slots")
568568
assert res.body[0]["is_processing"] == False
569569

0 commit comments

Comments
 (0)