Skip to content

Commit

Permalink
[Serve] Speed up test_replica_scheduler (ray-project#38324)
Browse files Browse the repository at this point in the history
Signed-off-by: e428265 <[email protected]>
  • Loading branch information
sihanwang41 authored and arvind-chandra committed Aug 31, 2023
1 parent 999f9ab commit 4b4e5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/ray/serve/tests/test_replica_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4b4e5fc

Please sign in to comment.