From 8fcb4f8cfd928e45af57c5ad3e5e256ccd1ad5b0 Mon Sep 17 00:00:00 2001 From: Sihan Wang Date: Fri, 18 Aug 2023 12:23:16 -0700 Subject: [PATCH] [Serve] Speed up test_replica_scheduler (#38324) --- python/ray/serve/tests/test_replica_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ray/serve/tests/test_replica_scheduler.py b/python/ray/serve/tests/test_replica_scheduler.py index 74a07ce8fb3b4..5404bcaf0b97e 100644 --- a/python/ray/serve/tests/test_replica_scheduler.py +++ b/python/ray/serve/tests/test_replica_scheduler.py @@ -84,8 +84,8 @@ def pow_2_scheduler() -> PowerOfTwoChoicesReplicaScheduler: ) # Update the RAY_SERVE_MULTIPLEXED_MODEL_ID_MATCHING_TIMEOUT_S - # to 0.1s to speed up the test. - os.environ.update({"RAY_SERVE_MULTIPLEXED_MODEL_ID_MATCHING_TIMEOUT_S": "0.1"}) + # to 0.01s to speed up the test. + os.environ.update({"RAY_SERVE_MULTIPLEXED_MODEL_ID_MATCHING_TIMEOUT_S": "0.01"}) importlib.reload(ray.serve._private.constants) importlib.reload(ray.serve._private.router)