From 913d01d3e12f9093c69d884906797044ca8d8381 Mon Sep 17 00:00:00 2001 From: Cindy Zhang Date: Sun, 26 Mar 2023 20:01:00 -0700 Subject: [PATCH] [serve] Fix serve HA test (#33699) #33597 changed the log statements for adding a replica to a deployment. The assert statement in test_ray_server_basic checks for the exact log statement - we need to update that assert statement. Signed-off-by: elliottower --- python/ray/tests/test_gcs_ha_e2e.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/tests/test_gcs_ha_e2e.py b/python/ray/tests/test_gcs_ha_e2e.py index 9035e7f68905..8b12e7a91e5d 100644 --- a/python/ray/tests/test_gcs_ha_e2e.py +++ b/python/ray/tests/test_gcs_ha_e2e.py @@ -171,7 +171,7 @@ def test_ray_server_basic(docker_cluster): head, worker = docker_cluster output = worker.exec_run(cmd=f"python -c '{scripts.format(num_replicas=1)}'") assert output.exit_code == 0 - assert b"Adding 1 replica to deployment 'Counter'." in output.output + assert b"Adding 1 replica to deployment Counter." in output.output # somehow this is not working and the port is not exposed to the host. # worker_cli = worker.client() # print(worker_cli.request("GET", "/api/incr"))