Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/task-execution-tests.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,12 @@
(when (and execution (not (job-terminal-p execution)))
(job-cancel execution :reason ':test-cleanup))
(ignore-errors (lisp-worker-pool-stop-all worker-pool))
;; Pool listeners publish the durable completion record after the
;; execution turns terminal; joining the pools ends that write.
(unless (task-orchestrator-close orchestrator)
(error 'task-error
:message "Task job pools did not stop before test cleanup."
:tool-name "task.run"))
(platform-delete-directory-tree *platform* root :validate t :if-does-not-exist ':ignore)))
nil)

Expand Down
Loading