Skip to content

Commit 9e7a0ae

Browse files
committed
test: don't assume that kill is synchronous
1 parent 4f0c73a commit 9e7a0ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/jobs-live.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ end
147147
job_killed = JuliaHub.kill_job(job; auth)
148148
@test job_killed isa JuliaHub.Job
149149
@test job_killed.id == job.id
150-
@test job_killed.status ("Running", "Submitted")
150+
# On 6.4+, killing a job doesn't immediately change its status
151+
#@test job_killed.status ∉ ("Running", "Submitted")
151152
# Wait a bit more and then make sure that the job is stopped
152153
@debug "Sleeping for 30s: $(job.id)"
153154
sleep(30)

0 commit comments

Comments
 (0)