diff options
Diffstat (limited to 'spec/support/database/partitioning_routing_analyzer.rb')
-rw-r--r-- | spec/support/database/partitioning_routing_analyzer.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/support/database/partitioning_routing_analyzer.rb b/spec/support/database/partitioning_routing_analyzer.rb new file mode 100644 index 00000000000..b1edd817386 --- /dev/null +++ b/spec/support/database/partitioning_routing_analyzer.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +RSpec.configure do |config| + config.around(:each, :suppress_partitioning_routing_analyzer) do |example| + Gitlab::Database::QueryAnalyzers::Ci::PartitioningRoutingAnalyzer.with_suppressed(&example) + end +end |