Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-02-13 20:50:19 +0300
committerMark Fletcher <mark@gitlab.com>2018-02-13 21:23:36 +0300
commited1c8857fecf50467a3466631140af31a28817cc (patch)
tree825d22a0ba3d944acbc6d6beb08e54eab0fd6fc5 /spec
parent4c4b5f333e123e45d7433842505fc56e6c475445 (diff)
Merge branch 'whitelisting' into 'master'
Remove Sentry reporting for query limiting See merge request gitlab-org/gitlab-ce!17092
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/query_limiting/transaction_spec.rb12
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