camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cepo...@apache.org
Subject git commit: Tidy up test for https://issues.apache.org/jira/browse/CAMEL-6918
Date Tue, 05 Nov 2013 15:06:51 GMT
Updated Branches:
  refs/heads/master 8ca7e3c36 -> 360319d2d


Tidy up test for https://issues.apache.org/jira/browse/CAMEL-6918


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/360319d2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/360319d2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/360319d2

Branch: refs/heads/master
Commit: 360319d2d816b98487266a2467d8dfa16a7c7e14
Parents: 8ca7e3c
Author: Christian Posta <christian.posta@gmail.com>
Authored: Tue Nov 5 08:06:26 2013 -0700
Committer: Christian Posta <christian.posta@gmail.com>
Committed: Tue Nov 5 08:06:26 2013 -0700

----------------------------------------------------------------------
 .../java/org/apache/camel/component/seda/SedaErrorTest.java  | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/360319d2/camel-core/src/test/java/org/apache/camel/component/seda/SedaErrorTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/seda/SedaErrorTest.java b/camel-core/src/test/java/org/apache/camel/component/seda/SedaErrorTest.java
index 992d79c..abbf54d 100644
--- a/camel-core/src/test/java/org/apache/camel/component/seda/SedaErrorTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/seda/SedaErrorTest.java
@@ -30,12 +30,8 @@ public class SedaErrorTest extends ContextTestSupport {
         MockEndpoint mockDLC = getMockEndpoint("mock:dlc");
         mockDLC.expectedMessageCount(1);
 
-        try {
-            for (int i = 0; i < 3; i++) {
-                template.send("direct:start", ExchangeBuilder.anExchange(context).withBody("msg"
+ i).build());
-            }
-        } catch (Exception ex) {
-            // noop
+        for (int i = 0; i < 3; i++) {
+            template.send("direct:start", ExchangeBuilder.anExchange(context).withBody("msg"
+ i).build());
         }
 
         assertMockEndpointsSatisfied();


Mime
View raw message