SivaTharun commented on issue #5807: URL: https://github.com/apache/dolphinscheduler/issues/5807#issuecomment-883326492
@CalvinKirs @dailidong we can use he embedded in memory database for integration tests, we can follow this [document](https://www.baeldung.com/spring-boot-h2-database), which shows on how to setup h2 database integration. Also we can construct the tables by including the DDL in `schema.sql` in `src/test/resources` folder. we can preload the data too , inside the h2 tables, by including the `data.sql` file in `src/test/resources` folder. This would help us to create, load and drop tables inside h2 database, and this execution will takes place for every integration test as well as mapper/repository test. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
