e4ca337e16bf4f0f749161932038665cefe7391e,python/ray/serve/tests/test_handle.py,,test_handle_in_endpoint,#Any#,46
Before Change
methods=["GET", "POST"])
serve.create_backend("endpoint2:v0", Endpoint2)
serve.create_endpoint(
"endpoint2",
backend="endpoint2:v0",
route="/endpoint2",
methods=["GET", "POST"])
assert requests.get("http://127.0.0.1:8000/endpoint2").text == "hello"
After Change
return ray.get(self.handle.remote())
Endpoint1.deploy()
Endpoint2.deploy()
assert requests.get("http://127.0.0.1:8000/Endpoint2").text == "hello"
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_handle.py
Class Name:
Method Name: test_handle_in_endpoint
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_handle.py
Class Name:
Method Name: test_handle_http_args
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_regression.py
Class Name:
Method Name: test_np_in_composed_model