From 3fb463ce6771a989971cf951780728ce20b4b331 Mon Sep 17 00:00:00 2001 From: Kate Grechishkina Date: Mon, 13 Nov 2023 19:19:06 +0000 Subject: [PATCH 1/2] Document TestFailureHistory badge --- doc/ci/testing/unit_test_reports.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/ci/testing/unit_test_reports.md b/doc/ci/testing/unit_test_reports.md index b37dd54e96ba0d..845359060e8628 100644 --- a/doc/ci/testing/unit_test_reports.md +++ b/doc/ci/testing/unit_test_reports.md @@ -92,7 +92,10 @@ To copy the name of a single failed test: > - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/235525) in Test Reports in GitLab 13.9. If a test failed in the project's default branch in the last 14 days, a message like -`Failed {n} time(s) in {default_branch} in the last 14 days` is displayed for that test. +`Failed {n} time(s) in {default_branch} in the last 14 days` is displayed for that test. + +The calculation includes failed tests in completed pipelines. [Blocked pipelines](../jobs/job_control.md#types-of-manual-jobs) are not +counted towards the total count of recent test failures. We plan to [include blocked pipelines in calculation](https://gitlab.com/gitlab-org/gitlab/-/issues/431265). ## How to set it up -- GitLab From 2d10ca855941ba9c0a0e217b1ededbf1cff2be97 Mon Sep 17 00:00:00 2001 From: Marcel Amirault Date: Tue, 14 Nov 2023 12:11:06 +0000 Subject: [PATCH 2/2] Apply 1 suggestion(s) to 1 file(s) --- doc/ci/testing/unit_test_reports.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/ci/testing/unit_test_reports.md b/doc/ci/testing/unit_test_reports.md index 845359060e8628..2954b75916647f 100644 --- a/doc/ci/testing/unit_test_reports.md +++ b/doc/ci/testing/unit_test_reports.md @@ -94,8 +94,9 @@ To copy the name of a single failed test: If a test failed in the project's default branch in the last 14 days, a message like `Failed {n} time(s) in {default_branch} in the last 14 days` is displayed for that test. -The calculation includes failed tests in completed pipelines. [Blocked pipelines](../jobs/job_control.md#types-of-manual-jobs) are not -counted towards the total count of recent test failures. We plan to [include blocked pipelines in calculation](https://gitlab.com/gitlab-org/gitlab/-/issues/431265). +The calculation includes failed tests in completed pipelines, but not [blocked pipelines](../jobs/job_control.md#types-of-manual-jobs). +[Issue 431265](https://gitlab.com/gitlab-org/gitlab/-/issues/431265) proposes to +also include blocked pipelines in the calculation. ## How to set it up -- GitLab