Merge pull request #202 from FraunhoferIOSB/Bugfix-PersistenceFileLock

Bugfix for ServerRestartIntegrationTest - Persistence file could not be deleted under Windows
This commit is contained in:
Andrea Selva
2016-08-19 09:00:57 +02:00
committed by GitHub
@@ -63,9 +63,9 @@ public class ServerRestartIntegrationTest {
@Before
public void setUp() throws Exception {
startServer();
String dbPath = IntegrationUtils.localMapDBPath();
IntegrationUtils.cleanPersistenceFile(dbPath);
startServer();
m_subscriber = new MqttClient("tcp://localhost:1883", "Subscriber", s_dataStore);
m_messageCollector = new MessageCollector();