diff --git a/linkis-public-enhancements/linkis-bml-server/src/test/resources/application.properties b/linkis-public-enhancements/linkis-bml-server/src/test/resources/application.properties index bfac835388..85fb2d828f 100644 --- a/linkis-public-enhancements/linkis-bml-server/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-bml-server/src/test/resources/application.properties @@ -18,9 +18,11 @@ #h2 database config spring.datasource.driver-class-name=org.h2.Driver #init -spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true;INIT=runscript from 'classpath:create.sql' +spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true spring.datasource.username=sa spring.datasource.password= +spring.sql.init.schema-locations=classpath:create.sql + spring.datasource.hikari.connection-test-query=select 1 spring.datasource.hikari.minimum-idle=5 spring.datasource.hikari.auto-commit=true