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:
I’d like to propose to change Rails deprecations setting
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.