Commit 6440be5d authored by Imre Farkas's avatar Imre Farkas

Merge branch 'remove-ff-ci_limit_test_reports_size' into 'master'

Remove FF ci_limit_test_reports_size

See merge request gitlab-org/gitlab!30592
parents 43b90ae4 8e134c2e
...@@ -46,8 +46,6 @@ class TestSuiteComparerEntity < Grape::Entity ...@@ -46,8 +46,6 @@ class TestSuiteComparerEntity < Grape::Entity
private private
def max_tests(*used) def max_tests(*used)
return Integer::MAX unless Feature.enabled?(:ci_limit_test_reports_size, default_enabled: true)
[DEFAULT_MAX_TESTS - used.map(&:count).sum, DEFAULT_MIN_TESTS].max [DEFAULT_MAX_TESTS - used.map(&:count).sum, DEFAULT_MIN_TESTS].max
end end
# rubocop: enable CodeReuse/ActiveRecord # rubocop: enable CodeReuse/ActiveRecord
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment