You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2014/04/09 10:50:11 UTC
[4/5] git commit: Tidy up test for
https://issues.apache.org/jira/browse/CAMEL-6918
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/665230da
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/665230da
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/665230da
Branch: refs/heads/camel-2.12.x
Commit: 665230dade43ae2e3e02e81be8615bcd25c49adc
Parents: ac492eb
Author: Christian Posta <ch...@gmail.com>
Authored: Tue Nov 5 08:06:26 2013 -0700
Committer: Willem Jiang <wi...@gmail.com>
Committed: Wed Apr 9 16:49:00 2014 +0800
----------------------------------------------------------------------
.../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/665230da/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();