Skip to content

Commit

Permalink
shorten timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Luar <[email protected]>
  • Loading branch information
luarss committed Jan 18, 2025
1 parent bc01553 commit f5432d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/AutoTuner/test/resume_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ def test_tune_resume(self):

# Keep trying to stop the ray cluster until it is stopped
while 1:
proc = subprocess.run("ray status", shell=True)
proc = subprocess.run(["ray", "status"], shell=True)
no_nodes = proc.returncode != 0
proc = subprocess.run("ray stop", shell=True)
proc = subprocess.run(["ray", "stop"], shell=True)
successful = proc.returncode == 0

if no_nodes and successful:
break
time.sleep(10)
time.sleep(5)

# Run the second config to completion
print("Running the second config")
Expand Down

0 comments on commit f5432d6

Please sign in to comment.