This repository was archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
First functional test database connection fails with Doctrine DBAL 2.13 #136
Comments
Public example: https://github.com/pagemachine/typo3-flat-urls/pull/40/checks?check_run_id=2556292024 Notice how the first of all tests for a SUT fails. |
I can confirm this, even though im using the typo3/testing-framework. Downgrading doctrine/dbal to 2.11.3 fixes the problem. |
I can confirm this + the downgrade to 2.11.x |
dkd-kaehm
added a commit
to dkd-kaehm/solr-ddev-site
that referenced
this issue
May 14, 2021
* Downgrades doctrine/dbal to v2.11.3, to be able to run tests locally See: Nimut/testing-framework#136 After clarifications of that issue the explicit version constraint of doctrine/dbal should be removed. * Upgrades bk2k/bootstrap-package to v11.0.3
dkd-kaehm
added a commit
to TYPO3-Solr/solr-ddev-site
that referenced
this issue
May 14, 2021
* Downgrades doctrine/dbal to v2.11.3, to be able to run tests locally See: Nimut/testing-framework#136 After clarifications of that issue the explicit version constraint of doctrine/dbal should be removed. * Upgrades bk2k/bootstrap-package to v11.0.3
dkd-kaehm
added a commit
to TYPO3-Solr/solr-ddev-site
that referenced
this issue
May 20, 2021
* Downgrades doctrine/dbal to v2.11.3, to be able to run tests locally See: Nimut/testing-framework#136 After clarifications of that issue the explicit version constraint of doctrine/dbal should be removed. * Upgrades bk2k/bootstrap-package to v11.0.3
cundd
added a commit
to cundd/rest
that referenced
this issue
May 21, 2021
After some investigations, the problem occures due to changes in the doctrine/dbal project. It is already fixed in the latest development branch (doctrine/dbal@b9b30b2#diff-e109793061ef1816d2ddf43ca20f451a9f79adf03e4c15ddf9efd82b8fd81dc8) and should be fixed with the next doctrine/dbal release. The testing-framework needs to mark doctrine versions 2.13.0 and 2.13.1 as conflict. |
Yes, thanks for the interim fix! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I just did an update to TYPO3 10.4.16 which, among others, brings compatibility with Doctrine DBAL 2.13. Thus the latter was also updated to the latest 2.13 version.
Now the first of each functional tests fails to connect to the database. The database exists after the test so maybe something has changed in Doctrine which causes an earlier connection before the
FunctionalTestCase
setup.First functional test run with Doctrine 2.13.1 ✖
Subsequent functional test run with Doctrine 2.13.1 ✔
Downgrading to Doctrine 2.11.x fixes the problem:
First functional test run with Doctrine 2.11.3 ✔
The text was updated successfully, but these errors were encountered: