server: tests: fix coloring console
This commit is contained in:
parent
6bba3be151
commit
5110de08e3
1 changed files with 2 additions and 2 deletions
|
@ -589,8 +589,8 @@ async def wait_for_health_status(context,
|
||||||
# Sometimes health requests are triggered after completions are predicted
|
# Sometimes health requests are triggered after completions are predicted
|
||||||
if expected_http_status_code == 503:
|
if expected_http_status_code == 503:
|
||||||
if len(context.completions) == 0:
|
if len(context.completions) == 0:
|
||||||
print("\x1b[5;37;43WARNING: forcing concurrents completions tasks,"
|
print("\x1b[5;37;43mWARNING: forcing concurrents completions tasks,"
|
||||||
" busy health check missed\x1b[0m")
|
" busy health check missed, probably too fast inference\x1b[0m")
|
||||||
n_completions = await gather_concurrent_completions_tasks(context)
|
n_completions = await gather_concurrent_completions_tasks(context)
|
||||||
if n_completions > 0:
|
if n_completions > 0:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue