Skip to content

Commit b4b8856

Browse files
committed
Do not perform runtimes check when another group-by method is provided
1 parent 91c7e63 commit b4b8856

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/turbo_tests/runner.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def tests_files
112112

113113
def use_runtime_info?
114114
return true if @parallel_options[:group_by] == :runtime
115+
return false if @parallel_options[:group_by] != :default
115116

116117
runtimes = ParallelTests::RSpec::Runner.send(:runtimes, tests_files, @parallel_options)
117118
runtimes.size * 1.5 > tests_files.size

0 commit comments

Comments
 (0)