mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 15:52:20 +00:00
This is an attempt to fix the flaky: ``` 1) Jobs::Onceoff can run all once off jobs without errors Failure/Error: self.locale_no_cache = value I18n::InvalidLocale: :bar is not a valid locale # ./lib/freedom_patches/translate_accelerator.rb:193:in `locale=' # ./app/jobs/onceoff/clean_up_user_export_topics.rb:7:in `block in execute_onceoff' # ./app/jobs/onceoff/clean_up_user_export_topics.rb:6:in `map' # ./app/jobs/onceoff/clean_up_user_export_topics.rb:6:in `execute_onceoff' # ./spec/integrity/onceoff_integrity_spec.rb:13:in `block (3 levels) in <main>' # ./spec/integrity/onceoff_integrity_spec.rb:12:in `each' # ./spec/integrity/onceoff_integrity_spec.rb:12:in `block (2 levels) in <main>' ```