5d124489a953e97344b7aca06a9cb33d518fbf1b,python/ray/serve/tests/test_nonblocking.py,,test_nonblocking,#,7
Before Change
def test_nonblocking():
serve.init()
serve.create_endpoint("nonblocking", "/nonblocking")
def function(flask_request):
return {"method": flask_request.method}
serve.create_backend("nonblocking:v1", function)
serve.set_traffic("nonblocking", {"nonblocking:v1": 1.0})
resp = requests.get("http://127.0.0.1:8000/nonblocking").json()["method"]
assert resp == "GET"
After Change
return {"method": flask_request.method}
serve.create_backend("nonblocking:v1", function)
serve.create_endpoint(
"nonblocking", backend="nonblocking:v1", route="/nonblocking")
resp = requests.get("http://127.0.0.1:8000/nonblocking").json()["method"]
assert resp == "GET"
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 4
Instances
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_nonblocking.py
Class Name:
Method Name: test_nonblocking
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_delete_backend
Project Name: ray-project/ray
Commit Name: 2b3fa35fbeb998768f9a59266cdd1ce94ac82c0e
Time: 2020-06-09
Author: rkooo567@gmail.com
File Name: ci/long_running_tests/workloads/serve.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_no_route
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_api.py
Class Name:
Method Name: test_call_method
Project Name: ray-project/ray
Commit Name: 5d124489a953e97344b7aca06a9cb33d518fbf1b
Time: 2020-06-06
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/examples/echo_batching.py
Class Name:
Method Name: