diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml index ae4d749159..c415d35619 100644 --- a/.github/workflows/ci_ut.yml +++ b/.github/workflows/ci_ut.yml @@ -39,7 +39,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: Bootstrap database - run: cd ${DOCKER_DIR} && docker-compose up -d db + run: cd ${DOCKER_DIR} && docker-compose up -d - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: diff --git a/dolphinscheduler-dao/src/main/resources/application-dao.properties b/dolphinscheduler-dao/src/main/resources/application-dao.properties index 926d8dbb2f..07abe37835 100644 --- a/dolphinscheduler-dao/src/main/resources/application-dao.properties +++ b/dolphinscheduler-dao/src/main/resources/application-dao.properties @@ -19,12 +19,12 @@ spring.datasource.type=com.alibaba.druid.pool.DruidDataSource # postgre spring.datasource.driver-class-name=org.postgresql.Driver -spring.datasource.url=jdbc:postgresql://192.168.xx.xx:5432/dolphinscheduler +spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler # mysql #spring.datasource.driver-class-name=com.mysql.jdbc.Driver #spring.datasource.url=jdbc:mysql://192.168.xx.xx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8 -spring.datasource.username=xx -spring.datasource.password=xx +spring.datasource.username=test +spring.datasource.password=test # connection configuration spring.datasource.initialSize=5 diff --git a/pom.xml b/pom.xml index 5b80ee1e3b..83a6b45e10 100644 --- a/pom.xml +++ b/pom.xml @@ -656,6 +656,7 @@ **/alert/utils/PropertyUtilsTest.java **/server/utils/SparkArgsUtilsTest.java **/server/utils/FlinkArgsUtilsTest.java + **/dao/mapper/AccessTokenMapperTest.java