From e2f0ab4706d3dd67ed069ec50ed5c593d301c9dd Mon Sep 17 00:00:00 2001 From: ChengJie1053 <18033291053@163.com> Date: Sat, 25 Nov 2023 23:20:49 +0800 Subject: [PATCH] Modify configuration --- .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/test/resources/application.properties b/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/test/resources/application.properties index 970208fe9e..089719f0d4 100644 --- a/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/test/resources/application.properties @@ -21,7 +21,10 @@ spring.datasource.driver-class-name=org.h2.Driver 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.datasource.schema=classpath:create.sql +spring.sql.init.schema-locations=classpath:create.sql +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false #pgtest #spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE; #spring.datasource.schema=classpath:create_pg.sql diff --git a/linkis-public-enhancements/linkis-pes-publicservice/src/test/resources/application.properties b/linkis-public-enhancements/linkis-pes-publicservice/src/test/resources/application.properties index f997dc0727..a7fe5fb166 100644 --- a/linkis-public-enhancements/linkis-pes-publicservice/src/test/resources/application.properties +++ b/linkis-public-enhancements/linkis-pes-publicservice/src/test/resources/application.properties @@ -41,9 +41,12 @@ logging.level.org.springframework.web=trace spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true -spring.datasource.schema=classpath:basedata_manager_create.sql,classpath:error_code_create.sql,classpath:variable_create.sql +spring.sql.init.schema-locations=classpath:basedata_manager_create.sql,classpath:error_code_create.sql,classpath:variable_create.sql spring.datasource.username=sa spring.datasource.password= +springfox.documentation.enabled=false +springfox.documentation.auto-startup=false +springfox.documentation.swagger-ui.enabled=false #pgtest #spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE; #spring.datasource.schema=classpath:basedata_manager_create_pg.sql,classpath:error_code_create_pg.sql,classpath:variable_create_pg.sql