[e2e] do not terminate in serve_failure smoke test (#21925)

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.
This commit is contained in:
mwtian 2022-01-27 15:36:46 -08:00 committed by GitHub
parent 09fab70991
commit 97f7e3d0e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ py_test(
size = "medium",
srcs = test_srcs,
env = {
"IS_SMOKE_TEST": "1",
"RAY_UNIT_TEST": "1",
},
main = "serve_failure.py",
tags = [

View file

@ -191,4 +191,4 @@
smoke_test:
run:
timeout: 3600
timeout: 600

View file

@ -24,7 +24,7 @@ NUM_NODES = 4
# RandomTest setup constants
CPUS_PER_NODE = 10
IS_SMOKE_TEST = "IS_SMOKE_TEST" in os.environ
RAY_UNIT_TEST = "RAY_UNIT_TEST" in os.environ
def update_progress(result):
@ -149,7 +149,7 @@ class RandomTest:
previous_time = new_time
iteration += 1
if IS_SMOKE_TEST:
if RAY_UNIT_TEST:
break