Skip to content

Commit

Permalink
TASK: Hotfix for transaction errors in CI
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mhsdesign committed Jun 21, 2024
1 parent feeec56 commit dc38d5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ jobs:
- name: Run Functional tests
run: |
cd ${FLOW_PATH_ROOT}
# we have to doctrine migrate and setup the cr here as otherwise a transaction error will occur:
# see also https://github.com/neos/neos-development-collection/pull/5005
FLOW_CONTEXT=Testing ./flow doctrine:migrate --quiet; FLOW_CONTEXT=Testing ./flow cr:setup
bin/phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml Packages/Application/Flowpack.NodeTemplates/Tests/Functional
- name: Show log on failure
Expand Down

0 comments on commit dc38d5d

Please sign in to comment.