From: pvtroshin Date: Thu, 26 May 2011 17:15:53 +0000 (+0000) Subject: Further work on statistics display X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=39c846e24c29c4a83d6b1c7004bf4d2b120ebb80;p=jabaws.git Further work on statistics display git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4178 e3abac25-378b-4346-85de-24260fe3988d --- diff --git a/testsrc/compbio/stat/collector/StatDBTester.java b/testsrc/compbio/stat/collector/StatDBTester.java index 172a57d..58ec698 100644 --- a/testsrc/compbio/stat/collector/StatDBTester.java +++ b/testsrc/compbio/stat/collector/StatDBTester.java @@ -40,20 +40,11 @@ public class StatDBTester { new Date().getTime()), Services.MuscleWS, false); assertNotNull(jobs); assertEquals(jobs.size(), 1294); - statdb.shutdownDBServer(); + // statdb.shutdownDBServer(); } catch (SQLException e) { e.printStackTrace(); Assert.fail(e.getMessage()); } - // Test shutdown - try { - statdb.readData(new Timestamp(cal.getTimeInMillis()), - new Timestamp(new Date().getTime()), Services.MuscleWS, - false); - Assert.fail("Should not reach this point"); - } catch (SQLException e) { - assertEquals(e.getMessage(), "No current connection."); - } } @Test