-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Description
After upgrading from 2.3.6. to 2.3.7. the data.sql scripts are not any longer executed when starting test runs.
The scripts are located in src/test/resources
I've checked this and since I need to load data into my own properties I did it with
public class ApplicationInitDocumat implements ApplicationListener<ContextRefreshedEvent> {
@Autowired
private MyDBController consistentChecker;
/**
* Listen to startup/context refresh events
*/
@Override
public void onApplicationEvent(ContextRefreshedEvent event) {
// failed to load data from database which is loaded via data.sql
Metadata
Metadata
Assignees
Labels
No labels