0d93e927208349eeab5c0c0cbb56646fff432e2c,python/ray/serve/tests/test_api.py,,test_updating_config,#Any#,241

Before Change


    serve.create_backend(
        "bsimple:v1",
        BatchSimple,
        config={
            "max_batch_size": 2,
            "num_replicas": 3
        })
    serve.create_endpoint("bsimple", backend="bsimple:v1", route="/bsimple")

    controller = serve.api._get_controller()

After Change


    serve.create_backend(
        "bsimple:v1",
        BatchSimple,
        config=BackendConfig(max_batch_size=2, num_replicas=3))
    serve.create_endpoint("bsimple", backend="bsimple:v1", route="/bsimple")

    controller = serve.api._get_controller()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 2

Instances


Project Name: ray-project/ray
Commit Name: 0d93e927208349eeab5c0c0cbb56646fff432e2c
Time: 2020-09-03
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_updating_config


Project Name: ray-project/ray
Commit Name: 0d93e927208349eeab5c0c0cbb56646fff432e2c
Time: 2020-09-03
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_parallel_start


Project Name: ray-project/ray
Commit Name: 0d93e927208349eeab5c0c0cbb56646fff432e2c
Time: 2020-09-03
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_list_backends


Project Name: ray-project/ray
Commit Name: 0d93e927208349eeab5c0c0cbb56646fff432e2c
Time: 2020-09-03
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_batching


Project Name: ray-project/ray
Commit Name: 0d93e927208349eeab5c0c0cbb56646fff432e2c
Time: 2020-09-03
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_batching_exception


Project Name: ray-project/ray
Commit Name: 0d93e927208349eeab5c0c0cbb56646fff432e2c
Time: 2020-09-03
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_scaling_replicas