title: How to prevent import.sql being executed in Spring Boot unit test
body: <p>I have an import.sql file with a few INSERT statements in my classpath. When running my application with profile=devel it's data is being loaded into a postgres db, which is OK so far.</p>
  
  <p>When executing tests with the test profile import.sql is also being triggered for import which leads to "table not found" exceptions. Not sure what the reason is here, but I don't want to use that data for tests anyway.</p>
  
  <p>How can I stop this? Setting hibernate.ddl-auto=none for the test profile does not seem to be a solution as it prevents generation of the schema as well.</p>