-
- Downloads
Limit amount of JUnit tests returned
Currently, we do not cap amount of tests returned to frontend, thus in some extreme cases we can see a MBs of data stored in Redis. This adds an upper limit of 100 tests per-suite. We will continue showing the total counters correctly, but we will limit amount of tests that will be presented.
Showing
- app/serializers/test_suite_comparer_entity.rb 26 additions, 3 deletionsapp/serializers/test_suite_comparer_entity.rb
- app/services/ci/compare_reports_base_service.rb 5 additions, 1 deletionapp/services/ci/compare_reports_base_service.rb
- changelogs/unreleased/limit-amount-of-tests-returned.yml 5 additions, 0 deletionschangelogs/unreleased/limit-amount-of-tests-returned.yml
- spec/features/merge_request/user_sees_merge_widget_spec.rb 48 additions, 14 deletionsspec/features/merge_request/user_sees_merge_widget_spec.rb
- spec/lib/gitlab/ci/reports/test_reports_comparer_spec.rb 1 addition, 7 deletionsspec/lib/gitlab/ci/reports/test_reports_comparer_spec.rb
- spec/lib/gitlab/ci/reports/test_suite_comparer_spec.rb 6 additions, 17 deletionsspec/lib/gitlab/ci/reports/test_suite_comparer_spec.rb
- spec/serializers/test_case_entity_spec.rb 1 addition, 1 deletionspec/serializers/test_case_entity_spec.rb
- spec/serializers/test_reports_comparer_entity_spec.rb 1 addition, 7 deletionsspec/serializers/test_reports_comparer_entity_spec.rb
- spec/serializers/test_reports_comparer_serializer_spec.rb 1 addition, 7 deletionsspec/serializers/test_reports_comparer_serializer_spec.rb
- spec/serializers/test_suite_comparer_entity_spec.rb 78 additions, 14 deletionsspec/serializers/test_suite_comparer_entity_spec.rb
- spec/support/test_reports/test_reports_helper.rb 17 additions, 17 deletionsspec/support/test_reports/test_reports_helper.rb
Please register or sign in to comment