From 39c846e24c29c4a83d6b1c7004bf4d2b120ebb80 Mon Sep 17 00:00:00 2001 From: pvtroshin Date: Thu, 26 May 2011 17:15:53 +0000 Subject: [PATCH] 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 --- testsrc/compbio/stat/collector/StatDBTester.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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 -- 1.7.10.2