From b9c8018c1266a5a7b53a7d5b5775f5b58bb82b00 Mon Sep 17 00:00:00 2001 From: Dave Long <dave@longwaveconsulting.com> Date: Mon, 22 Jul 2024 10:47:00 +0100 Subject: [PATCH] Issue #3462759 by catch: Try to rebalance kernel tests between gitlab runners (@group #slow again) (cherry picked from commit afce6da3132bb24a0e24e5f2aed2a03c866df51d) --- core/modules/block/tests/src/Kernel/BlockValidationTest.php | 1 + .../tests/src/Kernel/BlockContentAccessHandlerTest.php | 1 + .../tests/src/Kernel/BlockContentTypeValidationTest.php | 1 + .../Kernel/Plugin/migrate/source/CommentTypeRequirementsTest.php | 1 + .../contact/tests/src/Kernel/ContactFormValidationTest.php | 1 + .../tests/src/Kernel/ModerationStateFieldItemListTest.php | 1 + core/modules/editor/tests/src/Kernel/EditorValidationTest.php | 1 + .../filter/tests/src/Kernel/FilterFormatValidationTest.php | 1 + .../tests/src/Kernel/LocaleConfigSubscriberForeignTest.php | 1 + core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php | 1 + core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php | 1 + .../media_library/tests/src/Kernel/MediaLibraryStateTest.php | 1 + .../tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php | 1 + .../tests/src/Kernel/Plugin/migrate/source/VariableTest.php | 1 + core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php | 1 + .../tests/src/Kernel/ResponsiveImageStyleValidationTest.php | 1 + .../tests/src/Kernel/Entity/RestResourceConfigValidationTest.php | 1 + .../modules/search/tests/src/Kernel/SearchPageValidationTest.php | 1 + .../shortcut/tests/src/Kernel/ShortcutSetValidationTest.php | 1 + .../system/tests/src/Kernel/Entity/ActionValidationTest.php | 1 + .../system/tests/src/Kernel/Entity/MenuValidationTest.php | 1 + core/modules/user/tests/src/Kernel/RoleValidationTest.php | 1 + .../Core/Entity/FieldableEntityDefinitionUpdateTest.php | 1 + core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php | 1 + .../Core/Test/Comparator/MarkupInterfaceComparatorTest.php | 1 + 25 files changed, 25 insertions(+) diff --git a/core/modules/block/tests/src/Kernel/BlockValidationTest.php b/core/modules/block/tests/src/Kernel/BlockValidationTest.php index 7e3e2f234f97..c6571bbc29ec 100644 --- a/core/modules/block/tests/src/Kernel/BlockValidationTest.php +++ b/core/modules/block/tests/src/Kernel/BlockValidationTest.php @@ -12,6 +12,7 @@ * Tests validation of block entities. * * @group block + * @group #slow */ class BlockValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php b/core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php index 6252aa736156..893ae0c73a70 100644 --- a/core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php +++ b/core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php @@ -23,6 +23,7 @@ * @coversDefaultClass \Drupal\block_content\BlockContentAccessControlHandler * * @group block_content + * @group #slow */ class BlockContentAccessHandlerTest extends KernelTestBase { diff --git a/core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php b/core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php index 988064f4492e..1a61c184f74e 100644 --- a/core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php +++ b/core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of block_content_type entities. * * @group block_content + * @group #slow */ class BlockContentTypeValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/comment/tests/src/Kernel/Plugin/migrate/source/CommentTypeRequirementsTest.php b/core/modules/comment/tests/src/Kernel/Plugin/migrate/source/CommentTypeRequirementsTest.php index 379e51803b05..c04c478f3a2f 100644 --- a/core/modules/comment/tests/src/Kernel/Plugin/migrate/source/CommentTypeRequirementsTest.php +++ b/core/modules/comment/tests/src/Kernel/Plugin/migrate/source/CommentTypeRequirementsTest.php @@ -11,6 +11,7 @@ * Tests check requirements for comment type source plugin. * * @group comment + * @group #slow */ class CommentTypeRequirementsTest extends MigrateDrupal7TestBase { diff --git a/core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php b/core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php index 71fe9aae9531..a79a9b2b84b6 100644 --- a/core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php +++ b/core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php @@ -12,6 +12,7 @@ * Tests validation of contact_form entities. * * @group contact + * @group #slow */ class ContactFormValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php b/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php index 1c83da34b697..249418a2c32c 100644 --- a/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php +++ b/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php @@ -16,6 +16,7 @@ * @coversDefaultClass \Drupal\content_moderation\Plugin\Field\ModerationStateFieldItemList * * @group content_moderation + * @group #slow */ class ModerationStateFieldItemListTest extends KernelTestBase { diff --git a/core/modules/editor/tests/src/Kernel/EditorValidationTest.php b/core/modules/editor/tests/src/Kernel/EditorValidationTest.php index 142933a92726..91ebea2d3415 100644 --- a/core/modules/editor/tests/src/Kernel/EditorValidationTest.php +++ b/core/modules/editor/tests/src/Kernel/EditorValidationTest.php @@ -13,6 +13,7 @@ * Tests validation of editor entities. * * @group editor + * @group #slow */ class EditorValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php b/core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php index 5fd481e5bcfc..03241f26f2bb 100644 --- a/core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of filter_format entities. * * @group filter + * @group #slow */ class FilterFormatValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php b/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php index 8648ca59f707..c15cc884a04d 100644 --- a/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php +++ b/core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php @@ -12,6 +12,7 @@ * Tests default configuration handling with a foreign default language. * * @group locale + * @group #slow */ class LocaleConfigSubscriberForeignTest extends LocaleConfigSubscriberTest { diff --git a/core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php b/core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php index e283aae92bb1..f67c940c6d38 100644 --- a/core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php +++ b/core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php @@ -12,6 +12,7 @@ /** * @coversDefaultClass \Drupal\media\Plugin\Filter\MediaEmbed * @group media + * @group #slow */ class MediaEmbedFilterTest extends MediaEmbedFilterTestBase { diff --git a/core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php b/core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php index 43be795011fe..1b070de3517c 100644 --- a/core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php +++ b/core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of media_type entities. * * @group media + * @group #slow */ class MediaTypeValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php b/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php index a861d5348924..3256e914cd25 100644 --- a/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php +++ b/core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php @@ -16,6 +16,7 @@ * Tests the media library state value object. * * @group media_library + * @group #slow * * @coversDefaultClass \Drupal\media_library\MediaLibraryState */ diff --git a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php index c4cdaa3596b6..84d43a6d0013 100644 --- a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php +++ b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php @@ -24,6 +24,7 @@ * Tests the entity content source plugin. * * @group migrate_drupal + * @group #slow */ class ContentEntityTest extends KernelTestBase { diff --git a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableTest.php b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableTest.php index ac17c700bcb9..590fd1b447d9 100644 --- a/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableTest.php +++ b/core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableTest.php @@ -12,6 +12,7 @@ * @covers \Drupal\migrate_drupal\Plugin\migrate\source\Variable * * @group migrate_drupal + * @group #slow */ class VariableTest extends MigrateSqlSourceTestBase { diff --git a/core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php b/core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php index c8c4a22058d1..1500df272b3e 100644 --- a/core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php +++ b/core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of node_type entities. * * @group node + * @group #slow */ class NodeTypeValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php b/core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php index 6ba1184a41cb..fe0e0cf5f1bf 100644 --- a/core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php +++ b/core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of responsive_image_style entities. * * @group responsive_image + * @group #slow */ class ResponsiveImageStyleValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php b/core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php index 56e423b3fe38..673003d51aec 100644 --- a/core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php +++ b/core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php @@ -12,6 +12,7 @@ * Tests validation of rest_resource_config entities. * * @group rest + * @group #slow */ class RestResourceConfigValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/search/tests/src/Kernel/SearchPageValidationTest.php b/core/modules/search/tests/src/Kernel/SearchPageValidationTest.php index 8bb2a96b1650..9a9a514d5c50 100644 --- a/core/modules/search/tests/src/Kernel/SearchPageValidationTest.php +++ b/core/modules/search/tests/src/Kernel/SearchPageValidationTest.php @@ -13,6 +13,7 @@ * Tests validation of search_page entities. * * @group search + * @group #slow */ class SearchPageValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/shortcut/tests/src/Kernel/ShortcutSetValidationTest.php b/core/modules/shortcut/tests/src/Kernel/ShortcutSetValidationTest.php index f61b03aff6c3..6976a76b4086 100644 --- a/core/modules/shortcut/tests/src/Kernel/ShortcutSetValidationTest.php +++ b/core/modules/shortcut/tests/src/Kernel/ShortcutSetValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of shortcut_set entities. * * @group shortcut + * @group #slow */ class ShortcutSetValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php b/core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php index 7da634cf377f..f54f9a1eb9df 100644 --- a/core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php +++ b/core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of action entities. * * @group system + * @group #slow */ class ActionValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php b/core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php index 906960a0d683..9dff686d7280 100644 --- a/core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php +++ b/core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of menu entities. * * @group system + * @group #slow */ class MenuValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/modules/user/tests/src/Kernel/RoleValidationTest.php b/core/modules/user/tests/src/Kernel/RoleValidationTest.php index 6d532e7c72c6..928928533e66 100644 --- a/core/modules/user/tests/src/Kernel/RoleValidationTest.php +++ b/core/modules/user/tests/src/Kernel/RoleValidationTest.php @@ -11,6 +11,7 @@ * Tests validation of user_role entities. * * @group user + * @group #slow */ class RoleValidationTest extends ConfigEntityValidationTestBase { diff --git a/core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php b/core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php index 4a70ae7091c9..3155142602f3 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php @@ -16,6 +16,7 @@ * @coversDefaultClass \Drupal\Core\Entity\EntityDefinitionUpdateManager * * @group Entity + * @group #slow */ class FieldableEntityDefinitionUpdateTest extends EntityKernelTestBase { diff --git a/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php b/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php index 4bb9c5efa29a..fd79c5b314a2 100644 --- a/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php +++ b/core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php @@ -29,6 +29,7 @@ * Confirm that the default route provider is working correctly. * * @group Routing + * @group #slow */ class RouteProviderTest extends KernelTestBase { diff --git a/core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php b/core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php index d4c1ad4978dc..c9d10b475cc3 100644 --- a/core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php +++ b/core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php @@ -18,6 +18,7 @@ * objects to strings can require an initialized container. * * @group Test + * @group #slow * * @coversDefaultClass \Drupal\TestTools\Comparator\MarkupInterfaceComparator */ -- GitLab