diff --git a/.gitlab-ci/pipeline.yml b/.gitlab-ci/pipeline.yml index 3c45b444356eeb54f0dfc39149c9a5fcc24383d4..aee319106be0bf4e0008802ac812af0d7bc6e743 100644 --- a/.gitlab-ci/pipeline.yml +++ b/.gitlab-ci/pipeline.yml @@ -204,8 +204,7 @@ variables: - <<: *with-database variables: TESTSUITE: PHPUnit-Unit - KUBERNETES_CPU_REQUEST: "1" - CONCURRENCY: 6 + KUBERNETES_CPU_REQUEST: "16" 'âœ…ï¸ PHPStan Tests': <<: [ *default-job-settings ] diff --git a/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php b/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php index f32cb022447f44d0c2f0fb6c73facf21c0b8b17e..dd897c00a0fdb7347adfda7c369232cdfcc90087 100644 --- a/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php +++ b/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php @@ -14,7 +14,6 @@ * * @coversDefaultClass \Drupal\phpass\Password\PhpassHashedPassword * @group phpass - * @group #slow */ class PasswordVerifyTest extends UnitTestCase { diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index 8467644b0479e1eedde5ece3789b3a7f0720a089..54bdfe45052a961b005fb839f569bccf92fa0d66 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -8,9 +8,8 @@ <exclude-pattern>*/node_modules/*</exclude-pattern> <!--Exclude third party code.--> <exclude-pattern>./assets/vendor/*</exclude-pattern> - <!--Exclude the PHPStan baseline and temp dir from coding standards.--> + <!--Exclude the PHPStan baseline from coding standards.--> <exclude-pattern>./core/.phpstan-baseline.php</exclude-pattern> - <exclude-pattern>./core/phpstan-tmp/*</exclude-pattern> <!-- Exclude third-party code maintained within core that does not follow our standards. --> <!-- @todo This rule may be removed when https://www.drupal.org/node/1848264 is resolved. --> <exclude-pattern>./core/lib/Drupal/Component/Diff/</exclude-pattern> diff --git a/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php b/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php index d4b02de5d30a0a9ac938a038708d348020922d80..69bac3cb0282fbcfda2d426a928b14c081f9826d 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php @@ -12,7 +12,6 @@ * * @coversDefaultClass \Drupal\Component\Datetime\Time * @group Datetime - * @group #slow * @runTestsInSeparateProcesses * @preserveGlobalState disabled */ diff --git a/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php b/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php index c43054055fbcac97572daea35c3e865534b51c6b..f7a77f6e7db5a9e16f72b17030d81156b6307683 100644 --- a/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php @@ -10,7 +10,6 @@ /** * @coversDefaultClass \Drupal\Component\Utility\Rectangle * @group Image - * @group #slow */ class RectangleTest extends TestCase { diff --git a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php index f2fd94290332a26fdb9d9e5e64d7b04e8be14c53..0cc920d5f0dafa688904408928f3b89efe250957 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @@ -9,7 +9,6 @@ /** * @group Utility - * @group #slow * * @coversDefaultClass \Drupal\Component\Utility\UrlHelper */ diff --git a/core/tests/Drupal/Tests/Component/Utility/XssTest.php b/core/tests/Drupal/Tests/Component/Utility/XssTest.php index 6f8e09425b02bd937a9704b342e8b7bf0b98e8a7..15b1f0384342d0371d82d4a940b40c0ea64c232b 100644 --- a/core/tests/Drupal/Tests/Component/Utility/XssTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/XssTest.php @@ -23,7 +23,6 @@ * CVE-2006-1226 (= rev. 1.112?), CVE-2008-0273, CVE-2008-3740. * * @group Utility - * @group #slow * @coversDefaultClass \Drupal\Component\Utility\Xss * @runTestsInSeparateProcesses */ diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php index 14d896ad182388c798d8bf003b3f83589029e6c4..7c7a10909c1b8036325005a35dd042641d9b2bed 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php @@ -23,7 +23,6 @@ * information. * * @group Scaffold - * @group #slow */ class ComposerHookTest extends BuildTestBase { diff --git a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php index 07a3740f36a7b419e846bd0a9a98cac07003a50e..17c12d2d394e0545b3164a4af951bef1c4c30e7b 100644 --- a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php +++ b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php @@ -24,7 +24,6 @@ * @requires extension pdo_sqlite * * @group Command - * @group #slow */ class QuickStartTest extends TestCase { diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php index 845937dee5472cc64d5937dddea134735e03c260..e01add0147746f34ae011fa5eb0e1025632f6200 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @@ -14,7 +14,6 @@ /** * @coversDefaultClass \Drupal\Core\DrupalKernel * @group DrupalKernel - * @group #slow */ class DrupalKernelTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php index 4c830fecfe5f7bb4e28f5a12a23e82a540e90a39..cdd08cfbf431ffc7efcfdbe9e10049ba87102ab0 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php @@ -27,7 +27,6 @@ /** * @coversDefaultClass \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter * @group EventSubscriber - * @group #slow */ class ActiveLinkResponseFilterTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Core/Recipe/RecipeQuickStartTest.php b/core/tests/Drupal/Tests/Core/Recipe/RecipeQuickStartTest.php index 65bedfff3d0daeeace043a1b0d6ad7f61838b74a..c71cd91bff0586c64a54ca4e549fc7d45b2b9626 100644 --- a/core/tests/Drupal/Tests/Core/Recipe/RecipeQuickStartTest.php +++ b/core/tests/Drupal/Tests/Core/Recipe/RecipeQuickStartTest.php @@ -25,7 +25,6 @@ * * @group Command * @group Recipe - * @group #slow */ class RecipeQuickStartTest extends TestCase { diff --git a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php index 59f17d3e15fa34953a417cb169c5e6d62068e54a..ee3394b6391da0463dc24b198ef8a47da0bfa29e 100644 --- a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php +++ b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php @@ -15,7 +15,6 @@ * @runTestsInSeparateProcesses * @preserveGlobalState disabled * @group Security - * @group #slow */ class RequestSanitizerTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php index cb00324bdaf368ce3596a299e3ffbe610ecd9a97..d378dcf983c33f63752338a348f14df25f0d0dbe 100644 --- a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php +++ b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php @@ -14,7 +14,6 @@ * @coversDefaultClass \Drupal\Core\Site\Settings * @runTestsInSeparateProcesses * @group Site - * @group #slow */ class SettingsTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php index bfb3c31e58ee31afa6e0d56bbe89feb75b3dcabf..5ec76e7820fc61c12d82d852a09d8b5304c67827 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php @@ -10,7 +10,6 @@ /** * @group TestSuites * @group Test - * @group #slow */ class PhpUnitCliTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php index 9c8f72087e165278f2fe811f60ab8e80a70b4d25..d183cd752d175586e3fe3ff726870513ab994315 100644 --- a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php @@ -19,7 +19,6 @@ * * @coversDefaultClass \Drupal\Core\Update\UpdateRegistry * @group Update - * @group #slow * @runTestsInSeparateProcesses * @preserveGlobalState disabled */ diff --git a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php index a5e71bfb4d8ccbdb1bf801257ff7fb686263f05b..893a55e93092aa1328c960b9543504c09d1172c9 100644 --- a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php +++ b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @@ -26,7 +26,6 @@ * @see \Drupal\TestSite\Commands\TestSiteTearDownCommand * * @group Setup - * @group #slow * @runTestsInSeparateProcesses * @preserveGlobalState disabled */