Skip to content

Commit

Permalink
[serve] increase cold start timeout on windows (ray-project#42506)
Browse files Browse the repository at this point in the history
Signed-off-by: Lonnie Liu <[email protected]>
  • Loading branch information
aslonnie authored Jan 19, 2024
1 parent 76aaa1d commit f8e01de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/ray/serve/tests/test_autoscaling_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,11 @@ def check_running():
start = time.time()
result = handle.remote().result()
cold_start_time = time.time() - start
assert cold_start_time < 3
if sys.platform == "win32":
timeout = 5 # Windows has a longer tail.
else:
timeout = 3
assert cold_start_time < timeout
print(
"Time taken for deployment at 0 replicas to serve first request:",
cold_start_time,
Expand Down

0 comments on commit f8e01de

Please sign in to comment.