Skip to content

Commit

Permalink
Add per-test timeouts to AutoStatusesCleanupScheduler tests (mastodon…
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Jun 20, 2023
1 parent ebfeaeb commit 37a9c22
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@
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)
Expand Down

0 comments on commit 37a9c22

Please sign in to comment.