-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run integration tests, core_config_data database error #1544
Comments
@dverkade I cannot reproduce this issue. Could you please add more details? |
Hi @IvanPletnyov, Thank you for your feedback. This issue has been reproduced by @engcom-backlog-nickolas as well. See magento/magento2#17336 How can I help you further? All the information I have available is in this issue. |
@dverkade I'm trying to reproduce, but it's working for me |
Hi @IvanPletnyov thanks for the screen share. I see yours is working. So strange! Did you make customisations to the PHPunit file? It only throws the error when it needs to install Magento and no database tables are present in the database. I have attached the PHPunit.xml file I'm using. The CLEANUP needs to be ENABLED and the database needs to be empty (i.e. no database tables present) in order for my to get this error. Hope this helps!
|
@dverkade Hi! I'm use default phpunit.xml.dist, create new database... but I still can't reproduce |
Hi, did you find a solution for this problem? |
Same here... Anyone get rid of this???? |
witzig, wen man auf seiner suche nach issues so findet @rofthedeep 😄 👋🏻🤚🏻👋🏻🤚🏻👋🏻🤚🏻 |
@riconeitzel :) wir haben es dann so gelöst, dass wir die Datenbank nicht mehr automatisch syncronisieren, sondern nur noch nach Bedarf per Robo Script ... eine wirkliche Lösung haben wir aber nicht gefunden ... |
Preconditions
Steps to reproduce
install-config.mysql.php
file/usr/bin/php /var/www/html/src/vendor/bin/phpunit -c /var/www/html/src/dev/tests/integration/phpunit.xml.dist
Related to
Might be related to the following issues:
Created this issue in the Magento 2 repo first, but they closed it and asked me to put it in the MSI project:
Expected result
Integration tests should start to run.
Workaround
I got the integration tests to work by disabling the
Magento_WebapiSecurity
module.install-config.mysql.php
file looks like this:With this module disabled the integration tests are running.
Actual result
Installing Magento fails, because a module want to read from the core_config_data database table which has not been installed yet.
Full stack trace:
It's not a sequence issue, because this is the config.php file
The text was updated successfully, but these errors were encountered: