Skip to content

Move the ee feature flag stubing to ee spec helper

Alexandru Croitor requested to merge move_ee_ff_stubbing_to_ee_spec_helper into master

What does this MR do and why?

This moves an EE FF stubbing to ee helper.

Stubbing the EE FF in FOSS helper seem to raise some pipeline issues described in following thread: https://gitlab.slack.com/archives/C8HG8D9MY/p1698310838040469

Thank you @schin1 for disecting the potential issue.

-- Some examples of failed jobs

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Run RECORD_DEPRECATIONS=1 FOSS_ONLY=1 bin/rspec spec/lib/gitlab/tracking_spec.rb spec/lib/gitlab/sidekiq_config_spec.rb on the master branch.

The specs should fail

  1. Repeat the specs on this branch.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sylvester Chin

Merge request reports