The WordPress Core test suite was changed recently to run using a network of Docker containers. MySQL runs in its own container separate from the PHP container.
Because of this, the test runner cannot determine the version of MySQL being used when submitting results. An easy way around this would be to allow an environment variable to be set manually with the MySQL version being used.
Another option would be to detect when the local WP Core Docker environment is being used and call docker-compose run --rm mysql mysql --version instead of 'mysql --version' .
The WordPress Core test suite was changed recently to run using a network of Docker containers. MySQL runs in its own container separate from the PHP container.
Because of this, the test runner cannot determine the version of MySQL being used when submitting results. An easy way around this would be to allow an environment variable to be set manually with the MySQL version being used.
Another option would be to detect when the local WP Core Docker environment is being used and call
docker-compose run --rm mysql mysql --versioninstead of'mysql --version'.