4061b72f2e0bdd6a739acbd727f54f37e5cc92ff,python/ray/serve/tests/test_backend_state.py,,test_new_version_and_scale_down,#Any#,1002
Before Change
assert len(backend_state._replicas) == 0
b_config_1 , r_config_1 = generate_configs(10)
goal_1 = backend_state.deploy_backend(
TEST_TAG, b_config_1, r_config_1, version="1")
After Change
// Now deploy a new version and scale down the number of replicas to 2.
// First, 8 old replicas should be stopped to bring it down to the target.
b_info_2 = backend_info(num_replicas=2, version="2")
goal_2 = backend_state.deploy_backend(TEST_TAG, b_info_2)
backend_state.update()
check_counts(
backend_state,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: ray-project/ray
Commit Name: 4061b72f2e0bdd6a739acbd727f54f37e5cc92ff
Time: 2021-03-31
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_backend_state.py
Class Name:
Method Name: test_new_version_and_scale_down
Project Name: ray-project/ray
Commit Name: 4061b72f2e0bdd6a739acbd727f54f37e5cc92ff
Time: 2021-03-31
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_backend_state.py
Class Name:
Method Name: test_new_version_deploy_throttling
Project Name: ray-project/ray
Commit Name: 4061b72f2e0bdd6a739acbd727f54f37e5cc92ff
Time: 2021-03-31
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_backend_state.py
Class Name:
Method Name: test_new_version_and_scale_up
Project Name: ray-project/ray
Commit Name: 4061b72f2e0bdd6a739acbd727f54f37e5cc92ff
Time: 2021-03-31
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_backend_state.py
Class Name:
Method Name: test_initial_deploy_no_throttling