From dd8dbf26c554d1381247f729c8aafdf66353d024 Mon Sep 17 00:00:00 2001 From: Mark Florian <mflorian@gitlab.com> Date: Fri, 24 Jan 2025 17:27:26 +0000 Subject: [PATCH] Shard Jest Vue 3 check quarantine predictive jobs This sets the same sharding values for the predictive versions of these jobs as their non-predictive counterparts, in case the predictive set of tests run is large. This addresses the problem mentioned in the previous commit. See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/178401#note_2314230658 for more details. --- .gitlab/ci/frontend.gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/frontend.gitlab-ci.yml b/.gitlab/ci/frontend.gitlab-ci.yml index efeac254ed7b2..e6896f0e0f7d7 100644 --- a/.gitlab/ci/frontend.gitlab-ci.yml +++ b/.gitlab/ci/frontend.gitlab-ci.yml @@ -439,7 +439,7 @@ jest vue3 check quarantined predictive: - "detect-tests" script: - if [[ -s "$RSPEC_CHANGED_FILES_PATH" ]] || [[ -s "$RSPEC_MATCHING_JS_FILES_PATH" ]]; then run_timed_command "./scripts/frontend/check_jest_vue3_quarantine.js"; fi - parallel: 1 + parallel: 4 artifacts: name: quarantined_tests_output expire_in: 31d @@ -451,6 +451,7 @@ jest vue3 check quarantined predictive: jest-with-fixtures vue3 check quarantined predictive: extends: - jest vue3 check quarantined predictive + parallel: 1 variables: JEST_FIXTURE_JOBS_ONLY: 1 -- GitLab