diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-26 15:11:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-26 15:11:48 +0300 |
commit | 93c1e0e4c231b0b13000a587a6949067ef7fb128 (patch) | |
tree | 16dec1d8bef643a91e1f1ddba5bba99abd377203 /spec/spec_helper.rb | |
parent | 7adf8749c2864ae56ffb3ed89ffbe20e9320683a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 6 |
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:*") |