I had the same problem using spring boot 3.4.1 and fixed it by adding spring.test.database.replace=none in application.properties