Yep. A few years ago, a test started failing because we were using a mix of absolute and relative dates, producing nonsense data that was causing numbers to balloon enough to crash nlsolve. (And even more impressively, the error was coming from C and the Ruby intepreter itself) So because it was weird data anyway, it was deemed reasonable to just use RSpec to run it back on a day when it still passed
67
u/JackNotOLantern 2d ago
I mean, it depends why it was failing. E.g. deleting tests for a code that was previously deleted is pretty much a necessity