]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/ManagedTest.java
A try to speed up database resetting for testcases.
[gigi.git] / tests / org / cacert / gigi / testUtils / ManagedTest.java
index 637b272aaed9dcba7e3681e10b1e8eab80f6607b..ed5f1eec2c831c4fbb5ac5511dcc3004ef33f0ef 100644 (file)
@@ -150,12 +150,12 @@ public class ManagedTest {
     }
 
     public static void purgeDatabase() throws SQLException, IOException {
-        System.out.print("... purging Database");
+        System.out.print("... resetting Database");
         long ms = System.currentTimeMillis();
         try {
             DatabaseManager.run(new String[] {
                     testProps.getProperty("sql.driver"), testProps.getProperty("sql.url"), testProps.getProperty("sql.user"), testProps.getProperty("sql.password")
-            });
+            }, true);
         } catch (ClassNotFoundException e) {
             e.printStackTrace();
         }