From 9440352e565b09de6dc7170f8ea37f5fb8665ea9 Mon Sep 17 00:00:00 2001 From: andsel Date: Sat, 25 Mar 2017 15:38:10 +0100 Subject: [PATCH] Minor, fixes the output of mapdb data into targetdir (solves #288) --- broker/src/test/java/io/moquette/server/IntegrationUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/broker/src/test/java/io/moquette/server/IntegrationUtils.java b/broker/src/test/java/io/moquette/server/IntegrationUtils.java index 26d3c03f..cac6c956 100644 --- a/broker/src/test/java/io/moquette/server/IntegrationUtils.java +++ b/broker/src/test/java/io/moquette/server/IntegrationUtils.java @@ -33,12 +33,12 @@ public class IntegrationUtils { static String localMapDBPath() { String currentDir = System.getProperty("user.dir"); - return currentDir + File.separator + DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME; + return currentDir + File.separator + "target" + File.separator + DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME; } static String localClusterMapDBPath(int port) { String currentDir = System.getProperty("user.dir"); - return currentDir + File.separator + port + DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME; + return currentDir + File.separator + "target" + File.separator + port + DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME; } public static Properties prepareTestProperties() {