mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:52:44 +08:00
417be323a2
I was searching for a reason for randomly failing jobs_base_spec.rb. The reason was that after restorer_spec, the database is not restored to default. After restorer spec RailsMultisite::ConnectionManagement.all_dbs is returning array of ['default', 'second'] Then base job execution is evaluated twice ``` dbs = RailsMultisite::ConnectionManagement.all_dbs dbs.each do |db| execute(opts) end ``` |
||
---|---|---|
.. | ||
backup_restore | ||
compression | ||
content_security_policy | ||
i18n | ||
seed_data | ||
site_settings | ||
webauthn | ||
browser_detection_spec.rb | ||
content_security_policy_spec.rb | ||
db_helper_spec.rb | ||
encodings_spec.rb | ||
introduction_updater_spec.rb | ||
mini_sql_multisite_connection_spec.rb | ||
search_spec.rb | ||
theme_javascript_compiler_spec.rb | ||
upload_creator_spec.rb | ||
upload_recovery_spec.rb |