Skip to content

Commit 643b81c

Browse files
author
SimonEismann
committed
Testfix for #220
1 parent e2bfa77 commit 643b81c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

services/tools.descartes.teastore.persistence/src/main/java/tools/descartes/teastore/persistence/daemons/InitialDataGenerationDaemon.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ private void waitForDatabase() {
8484
DataGenerator.GENERATOR.isDatabaseEmpty();
8585
databaseOffline = false;
8686
} catch (PersistenceException e) {
87+
System.out.println("TEST");
8788
LOG.warn("Exception connecting to database. Is database offline? Wating for "
8889
+ DATABASE_OFFLINE_WAIT_MS + " ms.");
8990
try {

services/tools.descartes.teastore.persistence/src/main/resources/META-INF/persistence.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<property name="eclipselink.logging.level" value="INFO"/>
2323
<property name="eclipselink.ddl-generation" value="create-tables"/>
2424
<property name="eclipselink.ddl-generation.output-mode" value="database" />
25+
<property name="eclipselink.logging.level" value="OFF"/>
2526
</properties>
2627
</persistence-unit>
2728
</persistence>

0 commit comments

Comments
 (0)