mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-03-17 16:44:07 +00:00
server : fix wait in test_cancel_requests() test (#20601)
* server : fix wait in test_cancel_requests() test * codeowners : add team for server tests
This commit is contained in:
@@ -85,6 +85,7 @@
|
|||||||
/tools/quantize/ @ggerganov
|
/tools/quantize/ @ggerganov
|
||||||
/tools/rpc/ @ggml-org/ggml-rpc
|
/tools/rpc/ @ggml-org/ggml-rpc
|
||||||
/tools/server/* @ggml-org/llama-server # no subdir
|
/tools/server/* @ggml-org/llama-server # no subdir
|
||||||
|
/tools/server/tests/ @ggml-org/llama-server
|
||||||
/tools/server/webui/ @ggml-org/llama-webui
|
/tools/server/webui/ @ggml-org/llama-webui
|
||||||
/tools/tokenize/ @ggerganov
|
/tools/tokenize/ @ggerganov
|
||||||
/tools/tts/ @ggerganov
|
/tools/tts/ @ggerganov
|
||||||
|
|||||||
@@ -563,7 +563,7 @@ def test_cancel_request():
|
|||||||
except requests.exceptions.ReadTimeout:
|
except requests.exceptions.ReadTimeout:
|
||||||
pass # expected
|
pass # expected
|
||||||
# make sure the slot is free
|
# make sure the slot is free
|
||||||
time.sleep(1) # wait for HTTP_POLLING_SECONDS
|
time.sleep(2)
|
||||||
res = server.make_request("GET", "/slots")
|
res = server.make_request("GET", "/slots")
|
||||||
assert res.body[0]["is_processing"] == False
|
assert res.body[0]["is_processing"] == False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user