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

th-downstream
Claire 1 year ago committed by GitHub
parent 5e5af7a0fe
commit 4e0718dbf5

@ -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