code: def test_redeploy_start_time(serve_instance):
      """Check that redeploying a deployment doesn't reset its start time."""
  
      controller = _get_global_client()._controller
  
      @serve.deployment
      def test(_):
          return "1"
  
      serve.run(test.bind())
      deployment_route = DeploymentRoute.FromString(
          ray.get(
              controller.get_deployment_info.remote(
                  "test", SERVE_DEFAULT_APP_NAME
              )
          )
      )
      deployment_info_1 = DeploymentInfo.from_proto(
          deployment_route.deployment_info
      )
      start_time_ms_1 = deployment_info_1.start_time_ms
  
      time.sleep(0.1)
  
      @serve.deployment
      def test(_):
          return "2"
  
      serve.run(test.bind())
      deployment_route = DeploymentRoute.FromString(
          ray.get(
              controller.get_deployment_info.remote(
                  "test", SERVE_DEFAULT_APP_NAME
              )
          )
      )
      deployment_info_2 = DeploymentInfo.from_proto(
          deployment_route.deployment_info
      )
      start_time_ms_2 = deployment_info_2.start_time_ms
  
      assert start_time_ms_1 == start_time_ms_2
  
file_path: ray/python/ray/serve/tests/test_controller.py
imports: import json
  import time
  import pytest
  import ray
  from ray import serve
  from ray._private.test_utils import wait_for_condition
  from ray.serve._private.common import ApplicationStatus
  from ray.serve._private.constants import DEFAULT_AUTOSCALING_POLICY, SERVE_DEFAULT_APP_NAME
  from ray.serve._private.deployment_info import DeploymentInfo
  from ray.serve.autoscaling_policy import default_autoscaling_policy
  from ray.serve.context import _get_global_client
  from ray.serve.generated.serve_pb2 import DeploymentRoute
  from ray.serve.schema import ServeDeploySchema
label_desc: Use image node_id 1 for calling a global function with example usage: test_redeploy_start_time(serve_instance) and returns: str, str