Update of /cvsroot/proxool/proxool/src/java-test/org/logicalcobwebs/proxool
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2904/src/java-test/org/logicalcobwebs/proxool
Modified Files:
StateListenerTest.java
Log Message:
Now catches ProxoolException when pool is updated with bogus driver.
Index: StateListenerTest.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java-test/org/logicalcobwebs/proxool/StateListenerTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** StateListenerTest.java 2 Jun 2004 21:05:19 -0000 1.12
--- StateListenerTest.java 4 May 2005 16:03:23 -0000 1.13
***************
*** 93,97 ****
// Bogus definition -> should be down
! ProxoolFacade.updateConnectionPool("proxool." + alias + ":blah:foo", null);
srm.setExpectedUpState(StateListenerIF.STATE_DOWN);
assertEquals("Timeout waiting for DOWN", ResultMonitor.SUCCESS, srm.getResult());
--- 93,101 ----
// Bogus definition -> should be down
! try {
! ProxoolFacade.updateConnectionPool("proxool." + alias + ":blah:foo", null);
! } catch (ProxoolException e) {
! LOG.debug("Ignoring expected exception when trying to register a pool with a bogus driver", e);
! }
srm.setExpectedUpState(StateListenerIF.STATE_DOWN);
assertEquals("Timeout waiting for DOWN", ResultMonitor.SUCCESS, srm.getResult());
***************
*** 157,160 ****
--- 161,167 ----
Revision history:
$Log$
+ Revision 1.13 2005/05/04 16:03:23 billhorsman
+ Now catches ProxoolException when pool is updated with bogus driver.
+
Revision 1.12 2004/06/02 21:05:19 billhorsman
Don't log worrying stack traces for expected exceptions.
|