mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-13 13:31:19 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -85,6 +85,13 @@ describe Gitlab::UsageData, :aggregate_failures do
|
||||
|
||||
expect { subject }.not_to raise_error
|
||||
end
|
||||
|
||||
it 'jira usage works when queries time out' do
|
||||
allow_any_instance_of(ActiveRecord::Relation)
|
||||
.to receive(:find_in_batches).and_raise(ActiveRecord::StatementInvalid.new(''))
|
||||
|
||||
expect { described_class.jira_usage }.not_to raise_error
|
||||
end
|
||||
end
|
||||
|
||||
describe '#usage_data_counters' do
|
||||
|
Reference in New Issue
Block a user