bmatthews68 / inmemdb-maven-plugin

A Maven 3 plug-in that can be used to launch an in-memory database for use in integration tests. Apache Derby and HSQLDB are both supported.
http://inmemdb-maven-plugin.btmatthews.com
Apache License 2.0
15 stars 7 forks source link

deamon mode does not execute sql-sources #8

Closed montanero closed 11 years ago

montanero commented 11 years ago

If <daemon>true</daemon> the scripts declared within <sources> will not be executed.

This is impractical for the use case when you want to start and initialize the database in pre-integration-test

bmatthews68 commented 11 years ago

I looks like this was a race-condition where the database was being started asynchronously but it had not been completed before the sources are loaded.