Verified Commit 29d9d036 authored by Dave Long's avatar Dave Long
Browse files

ci: #3614817 Reduce functional test job CPU and concurrency

By: catch
parent 863dd3d0
Loading
Loading
Loading
Loading
+36 −35
Changes for .gitlab-ci.yml: 36 added lines, 35 removed lines.
Original line number Diff line number Diff line
@@ -280,11 +280,45 @@ default:
# Test Jobs
################

'🖱️️️ PHPUnit Functional Javascript':
  <<: [ *with-composer, *test-setup ]
  parallel: 3
  variables:
    TESTSUITE: functional-javascript
    CONCURRENCY: "12"
    KUBERNETES_CPU_REQUEST: "14"
  services:
    - <<: *with-database
    - <<: *with-selenium-chrome
  after_script:
    - sed -i "s#$CI_PROJECT_DIR/##" ./sites/default/files/simpletest/phpunit-*.xml || true
    - cp /builds/chromedriver.log ./

'🌐️️ PHPUnit Functional':
  <<: [ *with-composer, *test-setup ]
  parallel: 8
  variables:
    TESTSUITE: functional
    CONCURRENCY: "15"
    KUBERNETES_CPU_REQUEST: "10"
  services:
    - <<: *with-database

'⚙️️ PHPUnit Kernel':
  <<: [ *with-composer, *test-setup ]
  parallel: 4
  variables:
    TESTSUITE: kernel
    KUBERNETES_CPU_REQUEST: "12"
    CONCURRENCY: "24"
  services:
    - <<: *with-database

'🦉️️️ Nightwatch':
  <<: [ *with-composer, *test-setup ]
  retry: 1
  variables:
    KUBERNETES_CPU_REQUEST: "16"
    KUBERNETES_CPU_REQUEST: "9"
  services:
    - <<: *with-database
    - <<: *with-selenium-chrome
@@ -328,39 +362,6 @@ default:
      - ./core/.yarn/cache
    policy: pull

'🖱️️️ PHPUnit Functional Javascript':
  <<: [ *with-composer, *test-setup ]
  parallel: 3
  variables:
    TESTSUITE: functional-javascript
    CONCURRENCY: "12"
    KUBERNETES_CPU_REQUEST: "14"
  services:
    - <<: *with-database
    - <<: *with-selenium-chrome
  after_script:
    - sed -i "s#$CI_PROJECT_DIR/##" ./sites/default/files/simpletest/phpunit-*.xml || true
    - cp /builds/chromedriver.log ./

'🌐️️ PHPUnit Functional':
  <<: [ *with-composer, *test-setup ]
  parallel: 8
  variables:
    TESTSUITE: functional
    CONCURRENCY: "24"
    KUBERNETES_CPU_REQUEST: "16"
  services:
    - <<: *with-database

'⚙️️ PHPUnit Kernel':
  <<: [ *with-composer, *test-setup ]
  parallel: 4
  variables:
    TESTSUITE: kernel
    KUBERNETES_CPU_REQUEST: "12"
    CONCURRENCY: "24"
  services:
    - <<: *with-database

'👷️️️ PHPUnit Build':
  <<: [ *with-composer, *test-setup ]
@@ -368,7 +369,7 @@ default:
  variables:
    TESTSUITE: build
    KUBERNETES_CPU_REQUEST: "8"
    CONCURRENCY: "4"
    CONCURRENCY: "6"
    # No parallel for this job, setup manually the env variables that need to
    # be passed to run-tests.sh command line options.
    CI_NODE_INDEX: 1
+0 −1
Changes for core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
 * Tests creating new entity (e.g. taxonomy-term) from an autocomplete widget.
 */
#[Group('entity_reference')]
#[Group('#slow')]
#[RunTestsInSeparateProcesses]
class EntityReferenceAutoCreateTest extends BrowserTestBase {

+1 −0
Changes for core/modules/field_ui/tests/src/FunctionalJavascript/ManageFieldsTest.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
 * Tests the Field UI "Manage Fields" screens.
 */
#[Group('field_ui')]
#[Group('#slow')]
#[RunTestsInSeparateProcesses]
class ManageFieldsTest extends WebDriverTestBase {

+1 −0
Changes for core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
 * @internal
 */
#[Group('jsonapi')]
#[Group('#slow')]
#[RunTestsInSeparateProcesses]
class JsonApiRegressionTest extends JsonApiFunctionalTestBase {

+1 −0
Changes for core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
 * Tests the theme UI.
 */
#[Group('Theme')]
#[Group('#slow')]
#[RunTestsInSeparateProcesses]
class ThemeUiTest extends BrowserTestBase {
  use InfoWriterTrait;
Loading