code: def test_multiple_replicas(serve_instance):
      h = serve.run(Patient.options(num_replicas=2).bind())
      actors = {
          a._actor_id
          for a in ray.get(
              [h.remote()._to_object_ref_sync() for _ in range(100)]
          )
      }
      assert len(actors) == 2
  
      h.set_should_fail.remote().result()
  
      wait_for_condition(
          check_new_actor_started, handle=h, original_actors=actors
      )
  
      new_actors = {
          a._actor_id
          for a in ray.get(
              [h.remote()._to_object_ref_sync() for _ in range(100)]
          )
      }
      assert len(new_actors) == 2
      assert len(new_actors.intersection(actors)) == 1
  
imports: import pytest
  import ray
  from ray import serve
  from ray._private.test_utils import wait_for_condition
  from ray.exceptions import RayError
  from ray.serve._private.common import DeploymentStatus
  from ray.serve._private.constants import REPLICA_HEALTH_CHECK_UNHEALTHY_THRESHOLD, SERVE_DEFAULT_APP_NAME
label_desc: Use image node_id 5 for calling a global function with example usage: test_multiple_replicas(serve_instance) without return types