mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06: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 ``` |
||
---|---|---|
.. | ||
backuper_spec.rb | ||
local_backup_store_spec.rb | ||
restorer_spec.rb | ||
s3_backup_store_spec.rb | ||
shared_examples_for_backup_store.rb |