Skip to content

Commit 02dac9d

Browse files
committed
shorten timeout
Signed-off-by: Jack Luar <[email protected]>
1 parent 380c10a commit 02dac9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/AutoTuner/test/resume_check.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ def test_tune_resume(self):
7171

7272
# Keep trying to stop the ray cluster until it is stopped
7373
while 1:
74-
proc = subprocess.run("ray status", shell=True)
74+
proc = subprocess.run(["ray", "status"], shell=True)
7575
no_nodes = proc.returncode != 0
76-
proc = subprocess.run("ray stop", shell=True)
76+
proc = subprocess.run(["ray", "stop"], shell=True)
7777
successful = proc.returncode == 0
7878

7979
if no_nodes and successful:
8080
break
81-
time.sleep(10)
81+
time.sleep(5)
8282

8383
# Run the second config to completion
8484
print("Running the second config")

0 commit comments

Comments
 (0)