]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics/src/org/simantics/SimanticsPlatform.java
Log test name before and after execution with timeout and exec time
[simantics/platform.git] / bundles / org.simantics / src / org / simantics / SimanticsPlatform.java
index 7839ce70db31de7b0de4dc80d6725e8dc603b505..c0a85cd1ac1c06343b7a9bfb516b2efb84eb80fc 100644 (file)
@@ -678,10 +678,11 @@ public class SimanticsPlatform implements LifecycleListener {
     }
 
     public void resetDatabase(IProgressMonitor monitor) throws PlatformException {
+        // TODO: fix this to use Path APIs
         File dbLocation = Platform.getLocation().append("db").toFile();
         if(!dbLocation.exists()) return;
         try { // Load driver
-            Driver driver = Manager.getDriver("procore");
+            Driver driver = Manager.getDriver("acorn");
             Management management = driver.getManagement(dbLocation.getAbsolutePath(), null);
             management.delete();
         } catch (DatabaseException e) {