Exclude db intensive test to spare db connection

This commit is contained in:
2023-09-01 17:17:17 +02:00
parent a2a660c954
commit 0db1e3e0d7
3 changed files with 3 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ unit_tests:
- php tests/console doctrine:migrations:migrate -n --env=test
- php -d memory_limit=2G tests/console cache:clear --env=test
- php -d memory_limit=3G tests/console doctrine:fixtures:load -n
- php -d memory_limit=4G bin/phpunit --colors=never
- php -d memory_limit=4G bin/phpunit --colors=never --exclude-group dbIntensive
artifacts:
expire_in: 30 min
paths:

View File

@@ -197,6 +197,7 @@ abstract class AbstractAggregatorTest extends KernelTestCase
/**
* @return void
* @dataProvider dataProviderQueryExecution
* @group dbIntensive
*/
public function testQueryExecution(QueryBuilder $qb, array $data): void
{

View File

@@ -159,7 +159,7 @@ abstract class AbstractFilterTest extends KernelTestCase
* test the alteration of query by the filter.
*
* @dataProvider dataProviderAlterQuery
*
* @group dbIntensive
*/
public function testAlterQuery(QueryBuilder $query, array $data)
{