Fix Serve Flaky test_api::test_batching (#8867)

This commit is contained in:
Simon Mo
2020-06-09 16:49:17 -07:00
committed by GitHub
parent 731ed8d232
commit 7d52159d1a
+6 -1
View File
@@ -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")