be2187f942c5b9394b8b12ede836beb8781ee430,python/ray/serve/tests/test_api.py,,test_parallel_start,#,506
Before Change
def __call__(self, _):
return "Ready"
config = {
"num_replicas": 2
} if use_legacy_config else BackendConfig(num_replicas=2)
client.create_backend("p:v0", LongStartingServable, config=config)
client.create_endpoint("test-parallel", backend="p:v0")
handle = client.get_handle("test-parallel")
After Change
def __call__(self, _):
return "Ready"
config = BackendConfig(num_replicas=2)
client.create_backend("p:v0", LongStartingServable, config=config)
client.create_endpoint("test-parallel", backend="p:v0")
handle = client.get_handle("test-parallel")
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: ray-project/ray
Commit Name: be2187f942c5b9394b8b12ede836beb8781ee430
Time: 2020-11-23
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_parallel_start
Project Name: ray-project/ray
Commit Name: be2187f942c5b9394b8b12ede836beb8781ee430
Time: 2020-11-23
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_list_backends
Project Name: ray-project/ray
Commit Name: be2187f942c5b9394b8b12ede836beb8781ee430
Time: 2020-11-23
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_batching
Project Name: ray-project/ray
Commit Name: be2187f942c5b9394b8b12ede836beb8781ee430
Time: 2020-11-23
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_batching_exception