Fixed test

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

Branch: refs/heads/master
Commit: 16cc8a9202a756def094735cee6356d306c20b03
Parents: 94a6f9a
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sat Mar 21 11:13:52 2015 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sat Mar 21 11:13:52 2015 +0100

----------------------------------------------------------------------
 .../processor/async/AsyncProcessorAwaitManagerInterruptTest.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/16cc8a92/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptTest.java
----------------------------------------------------------------------
diff --git 
a/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptTest.java
 
b/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptTest.java
index 2e24346..3d5939a 100644
--- 
a/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptTest.java
+++ 
b/camel-core/src/test/java/org/apache/camel/processor/async/AsyncProcessorAwaitManagerInterruptTest.java
@@ -42,7 +42,6 @@ public class AsyncProcessorAwaitManagerInterruptTest extends 
ContextTestSupport
 
         try {
             template.requestBody("direct:start", "Hello Camel", String.class);
-            fail("Should have thrown exception");
         } catch (CamelExecutionException e) {
             RejectedExecutionException cause = 
assertIsInstanceOf(RejectedExecutionException.class, e.getCause());
             assertTrue(cause.getMessage().startsWith("Interrupted while 
waiting for asynchronous callback"));

Reply via email to