Add per-test timeouts to AutoStatusesCleanupScheduler tests (#24841)

local
Claire 11 months ago committed by GitHub
parent ebfeaebedb
commit 37a9c2258a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      spec/workers/scheduler/accounts_statuses_cleanup_scheduler_spec.rb

@ -75,6 +75,12 @@ describe Scheduler::AccountsStatusesCleanupScheduler do
end
describe '#perform' do
around do |example|
Timeout.timeout(30) do
example.run
end
end
before do
# Policies for the accounts
Fabricate(:account_statuses_cleanup_policy, account: account_alice)

Loading…
Cancel
Save