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 67c71fa commit 7394f23Copy full SHA for 7394f23
test/jobs-live.jl
@@ -150,8 +150,13 @@ end
150
# On 6.4+, killing a job doesn't immediately change its status
151
#@test job_killed.status ∉ ("Running", "Submitted")
152
# Wait a bit more and then make sure that the job is stopped
153
- @debug "Sleeping for 30s: $(job.id)"
154
- sleep(30)
+ for t in [10, 20, 60, 180]
+ @info "Sleeping for $(t)s, waiting for job to be killed: $(job.id)"
155
+ sleep(t)
156
+ if JuliaHub.job(job_killed).status ∉ ("Running", "Submitted")
157
+ break
158
+ end
159
160
job_killed = JuliaHub.job(job_killed) # test default auth=
161
@test job_killed.status == "Stopped"
162
# wait for the logger task to finish, if hasn't already
0 commit comments