code: def test_user_defined_method_fails(serve_instance):
      h = serve.run(Patient.bind())
      actor = h.remote().result()
      h.set_should_fail.remote().result()
  
      wait_for_condition(
          check_new_actor_started, handle=h, original_actors=actor
      )
      ray.get([h.remote()._to_object_ref_sync() for _ in range(100)])
  
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 3 for calling a global function with example usage: test_user_defined_method_fails(serve_instance) without return types