mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

When the script terminates, it will also terminate its cluster including dashboard, which will prevent subsequent job submissions. Other long running e2e tests do not terminate in smoke test mode, so make `serve_failure` behave the same.
57 lines
1.1 KiB
Text
57 lines
1.1 KiB
Text
load("@rules_python//python:defs.bzl", "py_test")
|
|
|
|
test_srcs = glob(["**/*.py"])
|
|
|
|
py_test(
|
|
name = "serve_failure_smoke_test",
|
|
size = "medium",
|
|
srcs = test_srcs,
|
|
env = {
|
|
"RAY_UNIT_TEST": "1",
|
|
},
|
|
main = "serve_failure.py",
|
|
tags = [
|
|
"exclusive",
|
|
"team:serve",
|
|
],
|
|
deps = [
|
|
"//:ray_lib",
|
|
"//python/ray/serve:serve_lib",
|
|
],
|
|
)
|
|
|
|
py_test(
|
|
name = "autoscaling_single_deployment_smoke_test",
|
|
size = "medium",
|
|
srcs = test_srcs,
|
|
env = {
|
|
"IS_SMOKE_TEST": "1",
|
|
},
|
|
main = "autoscaling_single_deployment.py",
|
|
tags = [
|
|
"exclusive",
|
|
"team:serve",
|
|
],
|
|
deps = [
|
|
"//:ray_lib",
|
|
"//python/ray/serve:serve_lib",
|
|
],
|
|
)
|
|
|
|
py_test(
|
|
name = "autoscaling_multi_deployment_smoke_test",
|
|
size = "medium",
|
|
srcs = test_srcs,
|
|
env = {
|
|
"IS_SMOKE_TEST": "1",
|
|
},
|
|
main = "autoscaling_multi_deployment.py",
|
|
tags = [
|
|
"exclusive",
|
|
"team:serve",
|
|
],
|
|
deps = [
|
|
"//:ray_lib",
|
|
"//python/ray/serve:serve_lib",
|
|
],
|
|
)
|