mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 13:40:51 +08:00
[api] Second round of 1.0 API changes: exceptions, num_return_vals (#10377)
This commit is contained in:
@@ -191,7 +191,7 @@ async def test_router_use_max_concurrency(serve_instance):
|
||||
second_query = q.enqueue_request.remote(RequestMetadata("svc", None), 1)
|
||||
|
||||
# Neither queries should be available
|
||||
with pytest.raises(ray.exceptions.RayTimeoutError):
|
||||
with pytest.raises(ray.exceptions.GetTimeoutError):
|
||||
ray.get([first_query, second_query], timeout=0.2)
|
||||
|
||||
# Let's retrieve the router internal state
|
||||
|
||||
Reference in New Issue
Block a user