Further work on statistics display
authorpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Thu, 26 May 2011 17:15:53 +0000 (17:15 +0000)
committerpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Thu, 26 May 2011 17:15:53 +0000 (17:15 +0000)
git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4178 e3abac25-378b-4346-85de-24260fe3988d

testsrc/compbio/stat/collector/StatDBTester.java

index 172a57d..58ec698 100644 (file)
@@ -40,20 +40,11 @@ public class StatDBTester {
                                                        new Date().getTime()), Services.MuscleWS, false);\r
                        assertNotNull(jobs);\r
                        assertEquals(jobs.size(), 1294);\r
-                       statdb.shutdownDBServer();\r
+                       // statdb.shutdownDBServer();\r
                } catch (SQLException e) {\r
                        e.printStackTrace();\r
                        Assert.fail(e.getMessage());\r
                }\r
-               // Test shutdown\r
-               try {\r
-                       statdb.readData(new Timestamp(cal.getTimeInMillis()),\r
-                                       new Timestamp(new Date().getTime()), Services.MuscleWS,\r
-                                       false);\r
-                       Assert.fail("Should not reach this point");\r
-               } catch (SQLException e) {\r
-                       assertEquals(e.getMessage(), "No current connection.");\r
-               }\r
 \r
        }\r
        @Test\r