Verified Commit 20c1667f authored by godotislate's avatar godotislate
Browse files

test: #3578719 Reduce minimum CPU requests for kernel, functional, and functional js requests

By: catch
parent f041302f
Loading
Loading
Loading
Loading
Loading
+37 −35
Original line number Diff line number Diff line
@@ -123,6 +123,8 @@ default:
  needs:
    - job: '🧹 PHP Coding standards (PHPCS)'
      optional: true
    - job: '🧹 PHP Static Analysis (phpstan)'
      optional: true
    - job: '📦 Composer'
      optional: true

@@ -413,42 +415,8 @@ default:
  retry: 1
  variables:
    TESTSUITE: PHPUnit-Build
    KUBERNETES_CPU_REQUEST: "12"
    CONCURRENCY: "6"
  services:
    - <<: *with-database

'🖱️️️ PHPUnit Functional Javascript':
  <<: [ *with-composer, *test-setup ]
  parallel: 3
  variables:
    TESTSUITE: PHPUnit-FunctionalJavascript
    CONCURRENCY: "12"
    KUBERNETES_CPU_REQUEST: "16"
  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: PHPUnit-Functional
    CONCURRENCY: "24"
    KUBERNETES_CPU_REQUEST: "16"
  services:
    - <<: *with-database

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

@@ -500,6 +468,40 @@ default:
      - ./core/.yarn/cache
    policy: pull

'🖱️️️ PHPUnit Functional Javascript':
  <<: [ *with-composer, *test-setup ]
  parallel: 3
  variables:
    TESTSUITE: PHPUnit-FunctionalJavascript
    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: PHPUnit-Functional
    CONCURRENCY: "20"
    KUBERNETES_CPU_REQUEST: "12"
  services:
    - <<: *with-database

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

'🔁 Repeat Class Test':
  <<: [ *with-composer, *test-setup ]
  stage: 🗜️ Additional tests
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
 * Tests validation of block entities.
 */
#[Group('block')]
#[Group('#slow')]
#[Group('config')]
#[Group('Validation')]
#[RunTestsInSeparateProcesses]
+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
 * Tests validation of block_content_type entities.
 */
#[Group('block_content')]
#[Group('#slow')]
#[Group('config')]
#[Group('Validation')]
#[RunTestsInSeparateProcesses]
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
 * Installs the config translation module on a site installed in non english.
 */
#[Group('config_translation')]
#[Group('#slow')]
#[RunTestsInSeparateProcesses]
class ConfigTranslationInstallTest extends InstallerTestBase {

+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
 * Tests links between a content entity and a content_moderation_state entity.
 */
#[Group('content_moderation')]
#[Group('#slow')]
#[RunTestsInSeparateProcesses]
class ContentModerationStateTest extends KernelTestBase {

Loading