• Andy Wilkinson's avatar
    Ignore schema username when auto-configuring a test DB · 28ccf54b
    Andy Wilkinson authored
    Previously, when an embedded test database was being auto-configured
    any schema username and password specified by the user would result
    in a separate embedded test database being created to load the schema.
    This then left the actual test database without the schema causing
    test failures.
    
    This commit updates the test database auto-configuration to set the
    schema username to an empty string in a property source that's added
    first to the environment's property sources. This causes any schema
    username configured by the user to be ignored, preventing the creation
    of a separate database for schema.sql processing.
    
    Fixes gh-19321
    28ccf54b
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...