From 14b6ede152a378d50f721d8803b73d554446c512 Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Fri, 23 Feb 2024 01:29:39 +0100 Subject: [PATCH] server: tests: minor color change --- examples/server/tests/features/steps/steps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/server/tests/features/steps/steps.py b/examples/server/tests/features/steps/steps.py index ac1bbd6be..86e039ff2 100644 --- a/examples/server/tests/features/steps/steps.py +++ b/examples/server/tests/features/steps/steps.py @@ -85,7 +85,7 @@ def step_start_server(context): with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as sock: result = sock.connect_ex((context.server_fqdn, context.server_port)) if result == 0: - print("server started!") + print("\x1b[33;42mserver started!\x1b[0m") return attempts += 1 if attempts > 20: @@ -586,7 +586,7 @@ async def wait_for_health_status(context, # Sometimes health requests are triggered after completions are predicted if expected_http_status_code == 503: if len(context.completions) == 0: - print("\x1b[33;42mWARNING: forcing concurrents completions tasks," + print("\x1b[5;37;43WARNING: forcing concurrents completions tasks," " busy health check missed\x1b[0m") n_completions = await gather_concurrent_completions_tasks(context) if n_completions > 0: