We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 380c10a commit 02dac9dCopy full SHA for 02dac9d
tools/AutoTuner/test/resume_check.py
@@ -71,14 +71,14 @@ def test_tune_resume(self):
71
72
# Keep trying to stop the ray cluster until it is stopped
73
while 1:
74
- proc = subprocess.run("ray status", shell=True)
+ proc = subprocess.run(["ray", "status"], shell=True)
75
no_nodes = proc.returncode != 0
76
- proc = subprocess.run("ray stop", shell=True)
+ proc = subprocess.run(["ray", "stop"], shell=True)
77
successful = proc.returncode == 0
78
79
if no_nodes and successful:
80
break
81
- time.sleep(10)
+ time.sleep(5)
82
83
# Run the second config to completion
84
print("Running the second config")
0 commit comments