Hello,
we are suffering from failures in discovery plugin test suite which are caused by rails deprecations. It fails across Ruby versions and I am unable to reproduce locally:
http://ci.theforeman.org/job/test_plugin_matrix/5167/
I’d like to propose to change Rails deprecations setting raise
to silence
for core tests when running in plugin job. The thing is, the purpose of plugin test suite is to test plugin and regressions in core tests when plugin is enabled and not to track changes in deprecations. The main problem is that when Rails upgrade is ongoing, jenkins plugin test suite is unusable.
This could be an environmental variable in config/initializers/deprecations.rb
file and the jenkins job could set it for all core unit/integration tests.