diff --git a/src/test/java/com/tacitknowledge/util/migration/DistributedAutoPatchRollbackTest.java b/src/test/java/com/tacitknowledge/util/migration/DistributedAutoPatchRollbackTest.java index 0bcb602..2addcf3 100644 --- a/src/test/java/com/tacitknowledge/util/migration/DistributedAutoPatchRollbackTest.java +++ b/src/test/java/com/tacitknowledge/util/migration/DistributedAutoPatchRollbackTest.java @@ -140,6 +140,10 @@ protected void setUp() throws Exception currentPatchInfoStore = MockBuilder.getPatchInfoStore(12); } + protected void tearDown() throws Exception { + System.clearProperty("migration.factory"); + super.tearDown(); + } /** * Make sure that the task loading works correctly * diff --git a/src/test/java/com/tacitknowledge/util/migration/jdbc/DistributedJdbcMigrationLauncherFactoryTest.java b/src/test/java/com/tacitknowledge/util/migration/jdbc/DistributedJdbcMigrationLauncherFactoryTest.java index 971f280..9b8c693 100644 --- a/src/test/java/com/tacitknowledge/util/migration/jdbc/DistributedJdbcMigrationLauncherFactoryTest.java +++ b/src/test/java/com/tacitknowledge/util/migration/jdbc/DistributedJdbcMigrationLauncherFactoryTest.java @@ -96,6 +96,7 @@ protected void setUp() throws Exception */ protected void tearDown() throws Exception { + System.clearProperty("migration.factory"); super.tearDown(); }