Skip to content

Commit dc38d5d

Browse files
committed
TASK: Hotfix for transaction errors in CI
Neos.ContentRepository.Core/Classes/EventStore/EventPersister.php:47 RuntimeException: A transaction is active already, can't commit events! ----------- and succeeding errors: Neos.ContentRepository.Core/Classes/Infrastructure/DbalCheckpointStorage.php:88 RuntimeException: Failed to acquire checkpoint lock for subscriber "Neos\ContentRepository\Core\Projection\ContentStream\ContentStreamProjection" because a transaction is active already
1 parent feeec56 commit dc38d5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ jobs:
102102
- name: Run Functional tests
103103
run: |
104104
cd ${FLOW_PATH_ROOT}
105+
# we have to doctrine migrate and setup the cr here as otherwise a transaction error will occur:
106+
# see also https://github.com/neos/neos-development-collection/pull/5005
107+
FLOW_CONTEXT=Testing ./flow doctrine:migrate --quiet; FLOW_CONTEXT=Testing ./flow cr:setup
105108
bin/phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/Flowpack.NodeTemplates/Tests/Functional
106109
107110
- name: Show log on failure

0 commit comments

Comments
 (0)