Skip to content

Commit

Permalink
[serve] Fix serve HA test (#33699)
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
zcin authored Mar 27, 2023
1 parent 0fa2123 commit 3d4cffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/tests/test_gcs_ha_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 3d4cffc

Please sign in to comment.