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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-26 15:11:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-26 15:11:48 +0300
commit93c1e0e4c231b0b13000a587a6949067ef7fb128 (patch)
tree16dec1d8bef643a91e1f1ddba5bba99abd377203 /spec/spec_helper.rb
parent7adf8749c2864ae56ffb3ed89ffbe20e9320683a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 2382d8732e5..929f06220eb 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -400,6 +400,12 @@ RSpec.configure do |config|
example.run unless GitalySetup.praefect_with_db?
end
+ config.around(:example, :yaml_processor_feature_flag_corectness) do |example|
+ ::Gitlab::Ci::YamlProcessor::FeatureFlags.ensure_correct_usage do
+ example.run
+ end
+ end
+
# previous test runs may have left some resources throttled
config.before do
::Gitlab::ExclusiveLease.reset_all!("el:throttle:*")