@@ -1015,8 +1015,8 @@ def test_crashing_job_status_default(count: Optional[int], hq_env: HqEnv):
10151015def test_crashing_job_no_restart_stop_worker (hq_env : HqEnv ):
10161016 hq_env .start_server ()
10171017
1018- hq_env .command (["submit" , f "--crash-limit=never-restart" , "sleep" , "10" ])
1019- hq_env .command (["submit" , f "--crash-limit=1" , "sleep" , "10" ])
1018+ hq_env .command (["submit" , "--crash-limit=never-restart" , "sleep" , "10" ])
1019+ hq_env .command (["submit" , "--crash-limit=1" , "sleep" , "10" ])
10201020
10211021 w = hq_env .start_worker (cpus = 2 )
10221022 wait_for_job_state (hq_env , [1 , 2 ], "RUNNING" )
@@ -1031,10 +1031,10 @@ def test_crashing_job_no_restart_stop_worker(hq_env: HqEnv):
10311031def test_crashing_job_no_restart_kill_worker (hq_env : HqEnv ):
10321032 hq_env .start_server ()
10331033
1034- hq_env .command (["submit" , f "--crash-limit=never-restart" , "sleep" , "10" ])
1035- hq_env .command (["submit" , f "--crash-limit=1" , "sleep" , "10" ])
1034+ hq_env .command (["submit" , "--crash-limit=never-restart" , "sleep" , "10" ])
1035+ hq_env .command (["submit" , "--crash-limit=1" , "sleep" , "10" ])
10361036
1037- w = hq_env .start_worker (cpus = 2 )
1037+ hq_env .start_worker (cpus = 2 )
10381038 wait_for_job_state (hq_env , [1 , 2 ], "RUNNING" )
10391039 hq_env .kill_worker (1 )
10401040
0 commit comments