diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-02-13 17:50:19 +0000 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-02-13 17:50:19 +0000 |
commit | dd8f56e86296f8ba6769075ef6bc6e28264706b6 (patch) | |
tree | 095d02425b0b88552dd4bec513975afda50cf0f6 /spec/lib | |
parent | ecd77bd0cf3eb6c8b8ddaa811ac3b9561a391692 (diff) | |
parent | e3bd674e81d565ef3bd399a70b3039316b518693 (diff) | |
download | gitlab-ce-dd8f56e86296f8ba6769075ef6bc6e28264706b6.tar.gz |
Merge branch 'whitelisting' into 'master'
Remove Sentry reporting for query limiting
See merge request gitlab-org/gitlab-ce!17092
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/query_limiting/transaction_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/lib/gitlab/query_limiting/transaction_spec.rb b/spec/lib/gitlab/query_limiting/transaction_spec.rb index b4231fcd0fa..b72b8574174 100644 --- a/spec/lib/gitlab/query_limiting/transaction_spec.rb +++ b/spec/lib/gitlab/query_limiting/transaction_spec.rb @@ -59,18 +59,6 @@ describe Gitlab::QueryLimiting::Transaction do expect { transaction.act_upon_results } .to raise_error(described_class::ThresholdExceededError) end - - it 'reports the error in Sentry if raising an error is disabled' do - expect(transaction) - .to receive(:raise_error?) - .and_return(false) - - expect(Raven) - .to receive(:capture_exception) - .with(an_instance_of(described_class::ThresholdExceededError)) - - transaction.act_upon_results - end end end |