Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#57816] disabled lazy load i18n for eager loaded runs

Eric Schubert7dd368b0a771
diff --git a/spec/support/i18n_lazy_loading.rb b/spec/support/i18n_lazy_loading.rb
index 0099ac47f24..39a1e430df4 100644
--- a/spec/support/i18n_lazy_loading.rb
+++ b/spec/support/i18n_lazy_loading.rb
@@ -60,6 +60,8 @@ module I18nLazyLoading
def self.install
return if ENV["TEST_NO_I18N_LAZY_LOADING"].present?
+ return if ENV["CI"].present?
+ return if ENV["EAGER_LOAD"].present?
# copy original I18n load path
@@original_load_path = I18n.config.load_path.dup