Skip to content

Limit amount of JUnit tests returned

Kamil Trzciński requested to merge limit-amount-of-tests-returned into master

What does this MR do?

Currently, we do not cap the number of tests returned to the frontend, thus in some extreme cases, we can see an MBs of data stored in Redis.

This adds an upper limit of 100 tests per-suite, with at least 5 returned for a given classification. We assume that the most important are new failures, next: existing failures, and last resolved failures.

We will continue showing the total counters correctly, but we will limit the number of tests that will be presented.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64035

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by Kamil Trzciński

Merge request reports