mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[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:
parent
e23b27c173
commit
2b257189a1
3 changed files with 4 additions and 4 deletions
|
@ -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 = [
|
||||
|
|
|
@ -191,4 +191,4 @@
|
|||
|
||||
smoke_test:
|
||||
run:
|
||||
timeout: 3600
|
||||
timeout: 600
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue