e4ca337e16bf4f0f749161932038665cefe7391e,python/ray/serve/tests/test_failure.py,,test_http_proxy_failure,#Any#,89

Before Change


        return "hello2"

    serve.create_backend("proxy_failure:v2", function)
    serve.set_traffic("proxy_failure", {"proxy_failure:v2": 1.0})

    def check_new():
        for _ in range(10):
            response = request_with_retries("/proxy_failure", timeout=30)

After Change


    def function(_):
        return "hello1"

    function.deploy()

    assert request_with_retries("/proxy_failure", timeout=1.0).text == "hello1"

    for _ in range(10):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ray-project/ray
Commit Name: e4ca337e16bf4f0f749161932038665cefe7391e
Time: 2021-04-08
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_failure.py
Class Name:
Method Name: test_http_proxy_failure


Project Name: ray-project/ray
Commit Name: 59e231818d8c0dc48a1b16e2a44984eb95a9ce6c
Time: 2021-03-24
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api_new.py
Class Name:
Method Name: test_delete_backend


Project Name: ray-project/ray
Commit Name: e4ca337e16bf4f0f749161932038665cefe7391e
Time: 2021-04-08
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_failure.py
Class Name:
Method Name: test_controller_failure