From 9fa667845ee60fc431da68a1dc49281583277282 Mon Sep 17 00:00:00 2001 From: swarwick Date: Wed, 11 Mar 2015 11:59:58 -0400 Subject: [PATCH] Fixing the tests --- .../eclipse/moquette/server/ServerIntegrationPahoTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/broker/src/test/java/org/eclipse/moquette/server/ServerIntegrationPahoTest.java b/broker/src/test/java/org/eclipse/moquette/server/ServerIntegrationPahoTest.java index 9f0c4e6f..b4f5a877 100644 --- a/broker/src/test/java/org/eclipse/moquette/server/ServerIntegrationPahoTest.java +++ b/broker/src/test/java/org/eclipse/moquette/server/ServerIntegrationPahoTest.java @@ -52,9 +52,9 @@ public class ServerIntegrationPahoTest { @Before public void setUp() throws Exception { - File dbFile = new File(m_server.getProperties().getProperty(org.eclipse.moquette.commons.Constants.PERSISTENT_STORE_PROPERTY_NAME)); - assertFalse(String.format("The DB storagefile %s already exists", m_server.getProperties().getProperty(org.eclipse.moquette.commons.Constants.PERSISTENT_STORE_PROPERTY_NAME)), dbFile.exists()); - + File dbFile = new File(org.eclipse.moquette.commons.Constants.DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME); + assertFalse(String.format("The DB storagefile %s already exists",org.eclipse.moquette.commons.Constants.DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME), dbFile.exists()); + startServer(); m_client = new MqttClient("tcp://localhost:1883", "TestClient", s_dataStore);