Skip to content

Commit

Permalink
[Serve] Speed up test_replica_scheduler (#38324)
Browse files Browse the repository at this point in the history
  • Loading branch information
sihanwang41 committed Aug 18, 2023
1 parent 762119f commit 8fcb4f8
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 8fcb4f8

Please sign in to comment.