mirror of
https://github.com/vale981/ray
synced 2025-03-07 02:51:39 -05:00
[serve] Make sure test_imported_backend is ran (#15043)
This commit is contained in:
parent
79a6aa97b7
commit
57256b456a
1 changed files with 6 additions and 0 deletions
|
@ -36,3 +36,9 @@ def test_imported_backend(serve_instance):
|
|||
serve.create_endpoint("imported_func", backend="imported_func")
|
||||
handle = serve.get_handle("imported_func")
|
||||
assert ray.get(handle.remote("hello")) == "hello"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
import pytest
|
||||
sys.exit(pytest.main(["-v", "-s", __file__]))
|
||||
|
|
Loading…
Add table
Reference in a new issue