camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r735967 - /camel/trunk/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java
Date Tue, 20 Jan 2009 08:41:31 GMT
Author: davsclaus
Date: Tue Jan 20 00:41:31 2009
New Revision: 735967

URL: http://svn.apache.org/viewvc?rev=735967&view=rev
Log:
Fixed unit tests failing on other platforms.

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java?rev=735967&r1=735966&r2=735967&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java Tue Jan
20 00:41:31 2009
@@ -85,14 +85,9 @@
 
     @Override
     protected void tearDown() throws Exception {
-        try {
-            log.debug("tearDown test: " + getName());
-            template.stop();
-            stopCamelContext();
-        } catch (Exception e) {
-            log.debug("tearDown ignored exception while stopping: " + e.getMessage());
-            // ignore exceptions while stopping to avoid unit test failing totally
-        }
+        log.debug("tearDown test: " + getName());
+        template.stop();
+        stopCamelContext();
     }
 
     protected void stopCamelContext() throws Exception {



Mime
View raw message