Skip to content

Commit e660a8c

Browse files
committed
add required #\[RunTestsInSeparateProcesses] attribute on Kernel, Functional and FunctionalJavascript tests
1 parent 5ad0683 commit e660a8c

20 files changed

Lines changed: 52 additions & 7 deletions

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
### Added
99
- add experimental coverage of Drupal 11.4
1010

11+
### Changed
12+
- add required #\[RunTestsInSeparateProcesses] attribute on Kernel, Functional and FunctionalJavascript tests
13+
1114
## [6.0.6] - 2026-01-26
1215
### Added
1316
- add official support of drupal 10.6

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ globally on your environment:
3333

3434
Once run, you will be able to access to your fresh installed Drupal on `localhost::8888`.
3535

36-
docker compose build --pull --build-arg BASE_IMAGE_TAG=11.2 drupal
36+
docker compose build --pull --build-arg BASE_IMAGE_TAG=11.3 drupal
3737
(get a coffee, this will take some time...)
3838
docker compose up -d drupal
3939
docker compose exec -u www-data drupal drush site-install standard --db-url="mysql://drupal:drupal@db/drupal" --site-name=Example -y

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE_TAG=11.2
1+
ARG BASE_IMAGE_TAG=11.3
22
FROM wengerk/drupal-for-contrib:${BASE_IMAGE_TAG}
33

44
ARG BASE_IMAGE_TAG

tests/src/Functional/BambooTwigCacheableTest.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
namespace Drupal\Tests\bamboo_twig\Functional;
44

5+
use PHPUnit\Framework\Attributes\Group;
6+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
7+
58
/**
69
* Tests Cacheable twig filters and functions.
7-
*
8-
* @group bamboo_twig
9-
* @group bamboo_twig_functional
10-
* @group bamboo_twig_cacheable
11-
* @group bamboo_twig_cacheable_functional
1210
*/
11+
#[Group('bamboo_twig')]
12+
#[Group('bamboo_twig_functional')]
13+
#[Group('bamboo_twig_cacheable')]
14+
#[Group('bamboo_twig_cacheable_functional')]
15+
#[RunTestsInSeparateProcesses]
1316
class BambooTwigCacheableTest extends BambooTwigTestBase {
1417

1518
/**

tests/src/Functional/BambooTwigConfigTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
namespace Drupal\Tests\bamboo_twig\Functional;
44

5+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
6+
57
/**
68
* Tests Config twig filters and functions.
79
*
810
* @group bamboo_twig
911
* @group bamboo_twig_functional
1012
* @group bamboo_twig_config
1113
*/
14+
#[RunTestsInSeparateProcesses]
1215
class BambooTwigConfigTest extends BambooTwigTestBase {
1316

1417
/**

tests/src/Functional/BambooTwigExtensionsI18nTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Drupal\Component\Gettext\PoItem;
66
use Drupal\language\Entity\ConfigurableLanguage;
7+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
78

89
/**
910
* Tests Extensions i18n of twig filters and functions.
@@ -13,6 +14,7 @@
1314
* @group bamboo_twig_extensions
1415
* @group bamboo_twig_extensions_i18n
1516
*/
17+
#[RunTestsInSeparateProcesses]
1618
class BambooTwigExtensionsI18nTest extends BambooTwigTestBase {
1719

1820
/**

tests/src/Functional/BambooTwigExtensionsTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
namespace Drupal\Tests\bamboo_twig\Functional;
44

5+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
6+
57
/**
68
* Tests Extensions twig filters and functions.
79
*
810
* @group bamboo_twig
911
* @group bamboo_twig_functional
1012
* @group bamboo_twig_extensions
1113
*/
14+
#[RunTestsInSeparateProcesses]
1215
class BambooTwigExtensionsTest extends BambooTwigTestBase {
1316

1417
/**

tests/src/Functional/BambooTwigFileTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
namespace Drupal\Tests\bamboo_twig\Functional;
44

5+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
6+
57
/**
68
* Tests File twig filters and functions.
79
*
810
* @group bamboo_twig
911
* @group bamboo_twig_functional
1012
* @group bamboo_twig_file
1113
*/
14+
#[RunTestsInSeparateProcesses]
1215
class BambooTwigFileTest extends BambooTwigTestBase {
1316

1417
/**

tests/src/Functional/BambooTwigI18nTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22

33
namespace Drupal\Tests\bamboo_twig\Functional;
44

5+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
6+
57
/**
68
* Tests I18n twig filters and functions.
79
*
810
* @group bamboo_twig
911
* @group bamboo_twig_functional
1012
* @group bamboo_twig_i18n
1113
*/
14+
#[RunTestsInSeparateProcesses]
1215
class BambooTwigI18nTest extends BambooTwigTestBase {
1316

1417
/**

tests/src/Functional/BambooTwigLoaderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Drupal\Core\StreamWrapper\PublicStream;
66
use Drupal\file\FileInterface;
77
use Drupal\Tests\taxonomy\Traits\TaxonomyTestTrait;
8+
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
89

910
/**
1011
* Tests Loaders twig filters and functions.
@@ -13,6 +14,7 @@
1314
* @group bamboo_twig_functional
1415
* @group bamboo_twig_loader
1516
*/
17+
#[RunTestsInSeparateProcesses]
1618
class BambooTwigLoaderTest extends BambooTwigTestBase {
1719
use TaxonomyTestTrait;
1820

0 commit comments

Comments
 (0)