]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/ManagedTest.java
More DNS-ping and email ping failtests.
[gigi.git] / tests / org / cacert / gigi / testUtils / ManagedTest.java
index 77822f52380101b47ff7d7c4ca17db1687255d6e..637b272aaed9dcba7e3681e10b1e8eab80f6607b 100644 (file)
@@ -150,7 +150,8 @@ public class ManagedTest {
     }
 
     public static void purgeDatabase() throws SQLException, IOException {
-        System.out.println("... purging Database");
+        System.out.print("... purging 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")
@@ -158,6 +159,7 @@ public class ManagedTest {
         } catch (ClassNotFoundException e) {
             e.printStackTrace();
         }
+        System.out.println(" in " + (System.currentTimeMillis() - ms) + " ms");
     }
 
     private static Properties generateMainProps() {