Plugin db:drop tests fail with The `production` database is not configured for the `production` environment


bootdisk plugin tests are failing, anyone have insight what changed?

+ bundle exec rake db:drop RAILS_ENV=production DISABLE_DATABASE_ENVIRONMENT_CHECK=true
rake aborted!
ActiveRecord::AdapterNotSpecified: The `production` database is not configured for the `production` environment.


I see the same for discovery plugin, likely an issue for all of them?,label=fast,ruby=2.5/console

That’s not an actual failure, that’s just ensuring the dbs are cleared after tests.
The actual failure in bootdisk is a bit earlier, on rubocop, and for discovery it should be fixed by Bug #30052: ActiveRecord dumps dynflow tables even though it cannot recreate them properly - Foreman

1 Like