mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
4ab1f76499
This commit 57caf08e1331f7f22c2a0f532480347a8b13fff8 broke `bin/turbo_rspec` timing recording via `TurboTests::Runner`, because we changed to using all `spec/*` folders except `spec/system` as default for the runner, rather than the old `['spec']` array, which is what `TurboTests::Runner` was relying on to determine whether to record test run time with `ParallelTests::RSpec::RuntimeLogger`. Instead, we can just pass a new `use_runtime_info` boolean to the runner class and use it when running against the default set of spec files using `bin/turbo_rspec` and the turbo rspec rake task.