From 2ae098e4f967235afcef538f86a3c0eebbed54b2 Mon Sep 17 00:00:00 2001 From: Adam Bramley <46227-acbramley@users.noreply.drupalcode.org> Date: Tue, 15 Apr 2025 00:07:50 +0000 Subject: [PATCH 1/2] Add with-selenium-chrome to Repeat Class Test job --- .gitlab-ci/pipeline.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci/pipeline.yml b/.gitlab-ci/pipeline.yml index ee6f1e0e1769..595331c4649f 100644 --- a/.gitlab-ci/pipeline.yml +++ b/.gitlab-ci/pipeline.yml @@ -244,6 +244,7 @@ variables: REPEAT_TEST_CLASS: 'Drupal\Tests\Change\Me' services: - <<: *with-database + - <<: *with-selenium-chrome '🚲 Performance tests': <<: [ *default-job-settings ] -- GitLab From 79d15e86dc270ebd92ba08d615c25b91f504aff7 Mon Sep 17 00:00:00 2001 From: Adam Bramley <adam.bramley@previousnext.com.au> Date: Tue, 15 Apr 2025 10:50:59 +1000 Subject: [PATCH 2/2] Add REPEAT_COUNT --- .gitlab-ci/pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/pipeline.yml b/.gitlab-ci/pipeline.yml index 595331c4649f..dc89219805fc 100644 --- a/.gitlab-ci/pipeline.yml +++ b/.gitlab-ci/pipeline.yml @@ -113,7 +113,7 @@ variables: echo ' "Key" to "REPEAT_TEST_CLASS" and "Value" to "Drupal\Tests\ckeditor5\FunctionalJavascript\MediaLinkabilityTest"'; exit 1; else - sudo -u www-data -E -H php ./core/scripts/run-tests.sh --color --keep-results --concurrency "$CONCURRENCY" --repeat "100" --sqlite "./sites/default/files/tests.sqlite" --dburl $SIMPLETEST_DB --url $SIMPLETEST_BASE_URL --verbose --non-html --class $REPEAT_TEST_CLASS + sudo -u www-data -E -H php ./core/scripts/run-tests.sh --color --keep-results --concurrency "$CONCURRENCY" --repeat "$REPEAT_COUNT" --sqlite "./sites/default/files/tests.sqlite" --dburl $SIMPLETEST_DB --url $SIMPLETEST_BASE_URL --verbose --non-html --class $REPEAT_TEST_CLASS fi ################ @@ -242,6 +242,7 @@ variables: allow_failure: true variables: REPEAT_TEST_CLASS: 'Drupal\Tests\Change\Me' + REPEAT_COUNT: 100 services: - <<: *with-database - <<: *with-selenium-chrome -- GitLab