Skip to content

[EE] Dont persist application settings in test env bis

EE version of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8715

It's an autoloading issue where the EE namespace wouldn't be defined prior to requiring EE::ApplicationSetting. The first fix I made was to not eager-load Gitlab::ImportSources (which turned out to end-up auto-loading EE::ApplicationSetting twice before EE would be properly defined, ending-up in an auto-loading issue, somehow.

This new fix simply defines the EE module as soon as possible in the 1_settings.rb initializer so that we avoid auto-loading issues properly.

Merge request reports

Loading