As discovered by @hpoettker in #29200, the auto-configuration tests for Spring Batch uses a custom schema file that is named custom-schema-hsql.sql while the tests are actually running on H2.