[Release 1.11 Cherrypick] [e2e] do not terminate in serve_failure smoke test (#21955)

Original PR #21925

This makes `serve_failure` pass its smoke test step. Without it, the test fails early and does not get to exercise the logic for 24 hr.
This commit is contained in:
mwtian 2022-01-28 15:57:32 -08:00 committed by Mingwei Tian
parent e23b27c173
commit 2b257189a1
No known key found for this signature in database
GPG key ID: 0BE002D6A9F508EB
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