I'm using dashing-rails https://github.com/gottfrois/dashing-rails in my project. It runs rufus-scheduler jobs on rails env load.
When I run my integration tests (rspec, capybara, selenium-driver), some of my tests randomly fail due to rufus-scheduler timeout errors. Is there a way to silence rufus-scheduler errors or disable rufus altogether in the test environment? I am not a fan of doing rails_env=test on my code base so any other solution would be appreciated.
Sample errors look like the following:
{ 283064 rufus-scheduler intercepted an error:
283064 job:
283064 Rufus::Scheduler::EveryJob "10s" {}
283064 error:
283064 283064
283064 Timeout::Error
283064 Waited 3 sec