code: def test_requires_long_poll_broadcast():
      # If max concurrent queries is updated, it needs to be broadcasted
      # to all routers.
      v1 = DeploymentVersion(
          "1", DeploymentConfig(max_concurrent_queries=5), {}
      )
      v2 = DeploymentVersion(
          "1", DeploymentConfig(max_concurrent_queries=10), {}
      )
      assert v1.requires_long_poll_broadcast(v2)
  
      # Something random like health check timeout doesn't require updating
      # any info on routers.
      v1 = DeploymentVersion(
          "1", DeploymentConfig(health_check_timeout_s=5), {}
      )
      v2 = DeploymentVersion(
          "1", DeploymentConfig(health_check_timeout_s=10), {}
      )
      assert not v1.requires_long_poll_broadcast(v2)
  
imports: import pytest
  import ray
  from ray.serve._private.config import DeploymentConfig
  from ray.serve._private.deployment_state import DeploymentVersion
label_desc: Use image node_id 23 for calling a global function with example usage: test_requires_long_poll_broadcast() without return types