mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-01 05:00:31 +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:
parent
ebbf544ed1
commit
88915cb55c
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue