Skip to content

fix: tests were using mysql instead of sqlite #27

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

Closed
wants to merge 2 commits into from

Conversation

rfay
Copy link
Contributor

@rfay rfay commented Apr 29, 2024

This add-on is very opinionated about using sqlite.

However, I happened to notice a gazillion tables being created in the mariadb database... because the tests were using the mysql URL.

This PR changes the SIMPLETEST_DB in the two phpunit.xml files so it uses the sqlite db.

Without this, nearly no tests can run successfully as in current proposed omit_containers[db]

simesy added a commit to simesy/ddev-drupal-core-dev that referenced this pull request Apr 29, 2024
Copy link
Owner

@justafish justafish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@justafish
Copy link
Owner

Discussed this with @rfay in Slack and instead we're going to move to using mariadb as the default

@justafish justafish closed this Apr 29, 2024
simesy added a commit to simesy/ddev-drupal-core-dev that referenced this pull request Apr 29, 2024
simesy added a commit to simesy/ddev-drupal-core-dev that referenced this pull request May 1, 2024
rfay pushed a commit to rfay/ddev-drupal-core-dev that referenced this pull request May 1, 2024
justafish pushed a commit that referenced this pull request May 23, 2024
* DDEV 1.23 compatiblity, Drupal core yarn/sqlite compatibility. Docs.

* Need to use sqlite now b/c no mysql. From /pull/27/files.

* Remove install of sqlite3 and make dependent on DDEV v1.23.1

* Run tests now that sqlite 3.45 in DDEV release

* Dockerfile is gone, don't try to install it

* add back in omit_containers, can remove farther down the line

* Remove --verbose from phpunit command, not supported in phpunit 10

---------

Co-authored-by: Simon Hobbs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants