Problem/Motivation

All tests are using the system "mysql" database when using MySQL or MariaDB database types. We should use a different one as "mysql" is a system database.

Steps to reproduce

https://git.drupalcode.org/project/drupal/-/blob/11.x/.gitlab-ci/pipelin...
Run any pipeline.

Proposed resolution

Change the name to another one. Not sure if we will need to create it or if the base test classes will create it automatically.

Remaining tasks

MR and tests.

Issue fork drupal-3463563

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fjgarlin created an issue. See original summary.

fjgarlin’s picture

Status: Active » Needs work

Fails saying it can't create a database. Not sure how/when the DB is trying to be created or if the CI should create it before.

mondrake made their first commit to this issue’s fork.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

anybody’s picture

Priority: Normal » Major

Shouldn't this be at least major as it causes totally incorrect test results in affected cases like #3326400: Fix test coverage - failing test with error "The value specified for generated column 'default_value' in table 'engine_cost' is not allowed."?