From 9c9935d05d6e09c384cf8cab179702f7946ec53e Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Tue, 19 Mar 2024 22:13:57 +0000
Subject: [PATCH] Issue #3432052 by catch: @group slow for more Kernel tests

---
 .../ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php    | 1 +
 core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php       | 1 +
 .../tests/src/Kernel/ContentModerationStateTest.php              | 1 +
 core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php      | 1 +
 core/modules/field/tests/src/Kernel/Number/NumberItemTest.php    | 1 +
 .../media/tests/src/Kernel/MediaAccessControlHandlerTest.php     | 1 +
 .../Kernel/Entity/EntityReferenceSelectionReferenceableTest.php  | 1 +
 .../KernelTests/Core/Config/SimpleConfigValidationTest.php       | 1 +
 .../KernelTests/Core/Entity/EntityViewDisplayValidationTest.php  | 1 +
 9 files changed, 9 insertions(+)

diff --git a/core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php b/core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
index 07a5b1bd7eb8..5f6ebe481b69 100644
--- a/core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
+++ b/core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
@@ -26,6 +26,7 @@
  * Tests different ways of enabling CKEditor 5 plugins.
  *
  * @group ckeditor5
+ * @group #slow
  * @internal
  */
 class CKEditor5PluginManagerTest extends KernelTestBase {
diff --git a/core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php b/core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php
index dac6a4095107..09e8bc7e4e41 100644
--- a/core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php
+++ b/core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php
@@ -24,6 +24,7 @@
  * @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\FundamentalCompatibilityConstraintValidator
  * @covers \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5MediaAndFilterSettingsInSyncConstraintValidator
  * @group ckeditor5
+ * @group #slow
  */
 class ValidatorsTest extends KernelTestBase {
 
diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
index dc629d73b16a..33740c2088fd 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
@@ -21,6 +21,7 @@
  * Tests links between a content entity and a content_moderation_state entity.
  *
  * @group content_moderation
+ * @group #slow
  */
 class ContentModerationStateTest extends KernelTestBase {
 
diff --git a/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php b/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
index 159b66797436..17ca312e3838 100644
--- a/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
+++ b/core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
@@ -16,6 +16,7 @@
  * Tests the new entity API for the date field type.
  *
  * @group datetime
+ * @group #slow
  */
 class DateTimeItemTest extends FieldKernelTestBase {
 
diff --git a/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php b/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
index 0ccef5319f8c..365a52895cae 100644
--- a/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
+++ b/core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
@@ -15,6 +15,7 @@
  * Tests the new entity API for the number field type.
  *
  * @group field
+ * @group #slow
  */
 class NumberItemTest extends FieldKernelTestBase {
 
diff --git a/core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php b/core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php
index af64534a6493..378d76a5631b 100644
--- a/core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php
+++ b/core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php
@@ -11,6 +11,7 @@
  * Tests the media access control handler.
  *
  * @group media
+ * @group #slow
  *
  * @coversDefaultClass \Drupal\media\MediaAccessControlHandler
  */
diff --git a/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php b/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php
index d9be4d2a1e00..433604bb1363 100644
--- a/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php
+++ b/core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php
@@ -14,6 +14,7 @@
  * Tests entity reference selection plugins.
  *
  * @group entity_reference
+ * @group #slow
  */
 class EntityReferenceSelectionReferenceableTest extends KernelTestBase {
 
diff --git a/core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php b/core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php
index f714ab65f707..61e3e2847855 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php
@@ -11,6 +11,7 @@
  *
  * @group config
  * @group Validation
+ * @group #slow
  */
 class SimpleConfigValidationTest extends KernelTestBase {
 
diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php
index 58c01c69bc25..8ae892b12c41 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php
@@ -15,6 +15,7 @@
  *
  * @group Entity
  * @group Validation
+ * @group #slow
  */
 class EntityViewDisplayValidationTest extends ConfigEntityValidationTestBase {
 
-- 
GitLab