discourse/spec/lib/scheduler
David Taylor 29f7ec7090
DEV: Prevent defer stats exception when thread aborted (#19863)
When the thread is aborted, an exception is raised before the `start` of a job is set, and therefore raises an exception in the `ensure` block. This commit checks that `start` exists, and also adds `abort_on_exception=true` so that this issue would have caused test failures.
2023-01-16 09:08:44 +11:00
..
defer_spec.rb DEV: Prevent defer stats exception when thread aborted (#19863) 2023-01-16 09:08:44 +11:00