Fixed implementation for HawtDB storage of subscriptions

This commit is contained in:
selva.andre
2012-08-13 23:42:55 +02:00
parent 389c906d8f
commit 025b5c77ff
8 changed files with 164 additions and 17 deletions
@@ -1,5 +1,6 @@
package org.dna.mqtt.moquette.server;
import java.io.File;
import java.io.IOException;
import org.dna.mqtt.moquette.client.Client;
import org.dna.mqtt.moquette.client.IPublishCallback;
@@ -30,6 +31,10 @@ public class ServerIntegrationTest {
@After
public void tearDown() {
server.stopServer();
File dbFile = new File(Server.STORAGE_FILE_PATH);
if (dbFile.exists()) {
dbFile.delete();
}
}