mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:35:40 +01:00
Add per-test timeouts to AutoStatusesCleanupScheduler tests (#24841)
This commit is contained in:
parent
ebfeaebedb
commit
37a9c2258a
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue