Verified Commit 52dc1d76 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3467391 by catch, smustgrave: Reduce CPU requirement and concurrency for unit tests

parent ef97485d
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -204,7 +204,8 @@ variables:
    - <<: *with-database
  variables:
    TESTSUITE: PHPUnit-Unit
    KUBERNETES_CPU_REQUEST: "16"
    KUBERNETES_CPU_REQUEST: "1"
    CONCURRENCY: 6

'✅️ PHPStan Tests':
  <<: [ *default-job-settings ]
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
 *
 * @coversDefaultClass \Drupal\phpass\Password\PhpassHashedPassword
 * @group phpass
 * @group #slow
 */
class PasswordVerifyTest extends UnitTestCase {

+2 −1
Original line number Diff line number Diff line
@@ -8,8 +8,9 @@
  <exclude-pattern>*/node_modules/*</exclude-pattern>
  <!--Exclude third party code.-->
  <exclude-pattern>./assets/vendor/*</exclude-pattern>
  <!--Exclude the PHPStan baseline from coding standards.-->
  <!--Exclude the PHPStan baseline and temp dir 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>
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
 *
 * @coversDefaultClass \Drupal\Component\Datetime\Time
 * @group Datetime
 * @group #slow
 * @runTestsInSeparateProcesses
 * @preserveGlobalState disabled
 */
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
/**
 * @coversDefaultClass \Drupal\Component\Utility\Rectangle
 * @group Image
 * @group #slow
 */
class RectangleTest extends TestCase {

Loading