diff --git a/li.strolch.service/src/main/java/li/strolch/migrations/MigrationsHandler.java b/li.strolch.service/src/main/java/li/strolch/migrations/MigrationsHandler.java index 2c33f3312..f1952707b 100644 --- a/li.strolch.service/src/main/java/li/strolch/migrations/MigrationsHandler.java +++ b/li.strolch.service/src/main/java/li/strolch/migrations/MigrationsHandler.java @@ -90,8 +90,8 @@ public class MigrationsHandler extends StrolchComponent { this.runMigrationsOnStart = configuration.getBoolean(PROP_RUN_MIGRATIONS_ON_START, Boolean.FALSE); this.verbose = configuration.getBoolean(PROP_VERBOSE, Boolean.FALSE); - this.pollMigrations = configuration.getBoolean(PROP_VERBOSE, Boolean.FALSE); - this.pollWait = configuration.getInt(PROP_VERBOSE, 5); + this.pollMigrations = configuration.getBoolean(PROP_POLL_MIGRATIONS, Boolean.FALSE); + this.pollWait = configuration.getInt(PROP_POLL_WAIT, 5); RuntimeConfiguration runtimeConf = configuration.getRuntimeConfiguration(); this.migrationsPath = runtimeConf.getDataDir(MigrationsHandler.class.getName(), PATH_MIGRATIONS, false); diff --git a/li.strolch.service/src/test/resources/migrationstest/config/StrolchConfiguration.xml b/li.strolch.service/src/test/resources/migrationstest/config/StrolchConfiguration.xml index 3e1edf6db..747412834 100644 --- a/li.strolch.service/src/test/resources/migrationstest/config/StrolchConfiguration.xml +++ b/li.strolch.service/src/test/resources/migrationstest/config/StrolchConfiguration.xml @@ -4,7 +4,6 @@ StrolchRuntimeTest - TRANSIENT true @@ -36,7 +35,7 @@ MigrationsHandler li.strolch.migrations.MigrationsHandler li.strolch.migrations.MigrationsHandler - ServiceHandler + RealmHandler true true