mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 21:53:18 +08:00
Fix Serve Flaky test_api::test_batching (#8867)
This commit is contained in:
@@ -158,7 +158,12 @@ def test_batching(serve_instance):
|
||||
|
||||
# set the max batch size
|
||||
serve.create_backend(
|
||||
"counter:v11", BatchingExample, config={"max_batch_size": 5})
|
||||
"counter:v11",
|
||||
BatchingExample,
|
||||
config={
|
||||
"max_batch_size": 5,
|
||||
"batch_wait_timeout": 1
|
||||
})
|
||||
serve.create_endpoint(
|
||||
"counter1", backend="counter:v11", route="/increment2")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user