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.
103 jobs for limit-amount-of-tests-returned in 52 minutes and 36 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Build
manual #245022304
gitlab-org allowed to fail manual
review-docs-deploy-manual
 
  Prepare
passed #245022306
gitlab-org
compile-assets pull-cache

00:06:06

passed #245022308
gitlab-org
retrieve-tests-metadata

00:00:25

passed #245022307
gitlab-org
setup-test-env

00:05:39

 
  Test
passed #245022421
docker gitlab-org
build-qa-image

00:05:13

passed #245022320
allowed to fail
code_quality

00:07:17

passed #245022423
gitlab-org
danger-review

00:02:07

passed #245022414
gitlab-org
db:check-schema-pg

00:02:10

passed #245022412
gitlab-org
db:migrate:reset-pg

00:02:34

passed #245022418
gitlab-org
db:rollback-pg

00:02:39

passed #245022322
allowed to fail
dependency_scanning

00:08:54

passed #245022309
gitlab-org
docs lint

00:02:34

passed #245022410
gitlab-org
downtime_check

00:02:12

passed #245022411
gitlab-org
ee_compat_check

00:02:51

passed #245022310
gitlab-org docker
gitlab:assets:compile pull-cache

00:16:08

passed #245022420
gitlab-org
gitlab:setup-pg

00:03:35

passed #245022424
gitlab-org
gitlab_git_test

00:00:27

passed #245022312
gitlab-org
jest

00:14:13

passed #245022311
gitlab-org
karma

00:09:53

54.52%
passed #245022426
gitlab-org
lint-ci-gitlab

00:00:39

passed #245022319
gitlab-org
memory-on-boot

00:03:27

passed #245022318
gitlab-org
memory-static

00:03:08

passed #245022416
gitlab-org
migration:path-pg

00:04:11

passed #245022425
gitlab-org
no_ee_check

00:00:36

passed #245022316
gitlab-org
qa-frontend-node:10

00:14:00

passed #245022315
gitlab-org
qa-frontend-node:8

00:14:16

passed #245022317
gitlab-org allowed to fail
qa-frontend-node:latest

00:12:24

passed #245022313
gitlab-org
qa:internal

00:02:59

passed #245022314
gitlab-org
qa:selectors

00:02:34

passed #245022422
allowed to fail manual
review-build-cng

00:20:48

passed #245022365
gitlab-org
rspec integration pg 1/6

00:16:22

passed #245022367
gitlab-org
rspec integration pg 2/6

00:15:34

passed #245022369
gitlab-org
rspec integration pg 3/6

00:16:31

passed #245022371
gitlab-org
rspec integration pg 4/6

00:14:18

passed #245022374
gitlab-org
rspec integration pg 5/6

00:17:09

passed #245022377
gitlab-org
rspec integration pg 6/6

00:15:45

passed #245022379
gitlab-org
rspec system pg 1/24

00:12:17

passed #245022391
gitlab-org
rspec system pg 10/24

00:12:34

passed #245022392
gitlab-org
rspec system pg 11/24

00:11:31

passed #245022393
gitlab-org
rspec system pg 12/24

00:12:30

passed #245022395
gitlab-org
rspec system pg 13/24

00:13:52

passed #245022397
gitlab-org
rspec system pg 14/24

00:13:47

passed #245022398
gitlab-org
rspec system pg 15/24

00:12:03

passed #245022399
gitlab-org
rspec system pg 16/24

00:11:33

passed #245022400
gitlab-org
rspec system pg 17/24

00:12:28

passed #245022401
gitlab-org
rspec system pg 18/24

00:13:28

passed #245022402
gitlab-org
rspec system pg 19/24

00:09:55

passed #245022380
gitlab-org
rspec system pg 2/24

00:11:13

passed #245022403
gitlab-org
rspec system pg 20/24

00:14:13

passed #245022404
gitlab-org
rspec system pg 21/24

00:13:46

passed #245022405
gitlab-org
rspec system pg 22/24

00:12:18

passed #245022406
gitlab-org
rspec system pg 23/24

00:12:49

passed #245022407
gitlab-org
rspec system pg 24/24

00:11:01

passed #245022381
gitlab-org
rspec system pg 3/24

00:13:24

passed #245022383
gitlab-org
rspec system pg 4/24

00:12:15

passed #245022385
gitlab-org
rspec system pg 5/24

00:13:56

passed #245022386
gitlab-org
rspec system pg 6/24

00:14:36

passed #245022387
gitlab-org
rspec system pg 7/24

00:12:21

passed #245022388
gitlab-org
rspec system pg 8/24

00:11:47

passed #245022390
gitlab-org
rspec system pg 9/24

00:11:20

passed #245022323
gitlab-org
rspec unit pg 1/25

00:14:00

passed #245022333
gitlab-org
rspec unit pg 10/25

00:10:30

passed #245022336
gitlab-org
rspec unit pg 11/25

00:11:43

passed #245022338
gitlab-org
rspec unit pg 12/25

00:13:19

passed #245022340
gitlab-org
rspec unit pg 13/25

00:11:38

passed #245022343
gitlab-org
rspec unit pg 14/25

00:11:14

passed #245022345
gitlab-org
rspec unit pg 15/25

00:14:07

passed #245022347
gitlab-org
rspec unit pg 16/25

00:14:28

passed #245022349
gitlab-org
rspec unit pg 17/25

00:12:31

passed #245022351
gitlab-org
rspec unit pg 18/25

00:13:41

passed #245022353
gitlab-org
rspec unit pg 19/25

00:12:31

passed #245022324
gitlab-org
rspec unit pg 2/25

00:11:47

passed #245022355
gitlab-org
rspec unit pg 20/25

00:11:39

passed #245022357
gitlab-org
rspec unit pg 21/25

00:13:40

passed #245022358
gitlab-org
rspec unit pg 22/25

00:14:45

passed #245022359
gitlab-org
rspec unit pg 23/25

00:12:09

passed #245022361
gitlab-org
rspec unit pg 24/25

00:11:34

passed #245022362
gitlab-org
rspec unit pg 25/25

00:13:16

passed #245022325
gitlab-org
rspec unit pg 3/25

00:12:02

passed #245022326
gitlab-org
rspec unit pg 4/25

00:10:17

passed #245022327
gitlab-org
rspec unit pg 5/25

00:10:49

passed #245022328
gitlab-org
rspec unit pg 6/25

00:12:20

passed #245022329
gitlab-org
rspec unit pg 7/25

00:12:13

passed #245022330
gitlab-org
rspec unit pg 8/25

00:11:42

passed #245022331
gitlab-org
rspec unit pg 9/25

00:11:42

passed #245022408
gitlab-org
rspec-fast-spec-helper

00:02:55

passed #245022321
allowed to fail
sast

00:07:03

passed #245022409
gitlab-org
static-analysis

00:13:21

 
  Review
manual #245022427
allowed to fail manual
package-and-qa
passed #245022428
gitlab-org allowed to fail
review-deploy

00:02:26

failed #245022429
gitlab-org allowed to fail manual
review-stop

00:00:20

 
  Qa
passed #245022436
docker gitlab-org allowed to fail
review-performance

00:02:32

manual #245022431
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #245022432
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #245022433
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #245022434
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #245022435
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #245022430
docker gitlab-org allowed to fail
review-qa-smoke

00:03:42

 
  Post Test
passed #245022439
gitlab-org
coverage

00:03:19

95.68%
passed #245022440
gitlab-org allowed to fail
flaky-examples-check

00:01:58

passed #245022438
gitlab-org
jsdoc

00:01:21

passed #245022437
gitlab-org
lint:javascript:report

00:02:29

 
  Post Cleanup
manual #245022441
gitlab-org allowed to fail manual
review-docs-cleanup
 
Name Stage Failure
failed
review-stop Review
Created fresh repository.
fatal: Couldn't find remote ref refs/heads/limit-amount-of-tests-returned
Fetching changes with git depth set to 1...
Reinitialized existing Git repository in /builds/gitlab-org/gitlab-ce/.git/
fatal: Couldn't find remote ref refs/heads/limit-amount-of-tests-returned
Fetching changes with git depth set to 1...
Reinitialized existing Git repository in /builds/gitlab-org/gitlab-ce/.git/
fatal: Couldn't find remote ref refs/heads/limit-amount-of-tests-returned
ERROR: Job failed: exit code 1