Author: kkoehler
Date: Mon Jun 23 06:21:07 2008
New Revision: 670558
URL: http://svn.apache.org/viewvc?rev=670558&view=rev
Log:
patch for SM-1417. "A failing EIPTransactionalTest causes some more tests to
fail..."
added simple try/finally block
Modified:
servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/java/org/apache/servicemix/eip/AbstractEIPTransactionalTest.java
Modified:
servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/java/org/apache/servicemix/eip/AbstractEIPTransactionalTest.java
URL:
http://svn.apache.org/viewvc/servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/java/org/apache/servicemix/eip/AbstractEIPTransactionalTest.java?rev=670558&r1=670557&r2=670558&view=diff
==============================================================================
---
servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/java/org/apache/servicemix/eip/AbstractEIPTransactionalTest.java
(original)
+++
servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/java/org/apache/servicemix/eip/AbstractEIPTransactionalTest.java
Mon Jun 23 06:21:07 2008
@@ -83,9 +83,12 @@
}
protected void tearDown() throws Exception {
- listener.assertExchangeCompleted();
- jbi.shutDown();
- broker.stop();
+ try {
+ listener.assertExchangeCompleted();
+ } finally {
+ jbi.shutDown();
+ broker.stop();
+ }
}
protected void configurePattern(EIPEndpoint endpoint) {