mirror of
https://github.com/funamitech/mastodon
synced 2024-11-23 22:57:05 +09:00
Add per-test timeouts to AutoStatusesCleanupScheduler tests (#24841)
This commit is contained in:
parent
ebfeaebedb
commit
37a9c2258a
@ -75,6 +75,12 @@ describe Scheduler::AccountsStatusesCleanupScheduler do
|
|||||||
end
|
end
|
||||||
|
|
||||||
describe '#perform' do
|
describe '#perform' do
|
||||||
|
around do |example|
|
||||||
|
Timeout.timeout(30) do
|
||||||
|
example.run
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
before do
|
before do
|
||||||
# Policies for the accounts
|
# Policies for the accounts
|
||||||
Fabricate(:account_statuses_cleanup_policy, account: account_alice)
|
Fabricate(:account_statuses_cleanup_policy, account: account_alice)
|
||||||
|
Loading…
Reference in New Issue
Block a user