* Bugfix - persistence file could not be deleted under Windows because it was in use by the server
This commit is contained in:
@@ -63,9 +63,9 @@ public class ServerRestartIntegrationTest {
|
|||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
startServer();
|
|
||||||
String dbPath = IntegrationUtils.localMapDBPath();
|
String dbPath = IntegrationUtils.localMapDBPath();
|
||||||
IntegrationUtils.cleanPersistenceFile(dbPath);
|
IntegrationUtils.cleanPersistenceFile(dbPath);
|
||||||
|
startServer();
|
||||||
|
|
||||||
m_subscriber = new MqttClient("tcp://localhost:1883", "Subscriber", s_dataStore);
|
m_subscriber = new MqttClient("tcp://localhost:1883", "Subscriber", s_dataStore);
|
||||||
m_messageCollector = new MessageCollector();
|
m_messageCollector = new MessageCollector();
|
||||||
|
|||||||
Reference in New Issue
Block a user