You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/12/06 15:52:52 UTC

camel git commit: Fixed test

Repository: camel
Updated Branches:
  refs/heads/master e928a1cb8 -> fc90a4c81


Fixed test


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

Branch: refs/heads/master
Commit: fc90a4c81229d2b2f5a7716ef34b12ed7fef578b
Parents: e928a1c
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Dec 6 16:52:25 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Dec 6 16:52:25 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/itest/async/HttpJmsAsyncTimeoutTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/fc90a4c8/tests/camel-itest/src/test/java/org/apache/camel/itest/async/HttpJmsAsyncTimeoutTest.java
----------------------------------------------------------------------
diff --git a/tests/camel-itest/src/test/java/org/apache/camel/itest/async/HttpJmsAsyncTimeoutTest.java b/tests/camel-itest/src/test/java/org/apache/camel/itest/async/HttpJmsAsyncTimeoutTest.java
index c1e6dac..122e0f8 100644
--- a/tests/camel-itest/src/test/java/org/apache/camel/itest/async/HttpJmsAsyncTimeoutTest.java
+++ b/tests/camel-itest/src/test/java/org/apache/camel/itest/async/HttpJmsAsyncTimeoutTest.java
@@ -41,7 +41,7 @@ public class HttpJmsAsyncTimeoutTest extends HttpAsyncTestSupport {
             fail("Should have thrown exception");
         } catch (CamelExecutionException e) {
             HttpOperationFailedException cause = assertIsInstanceOf(HttpOperationFailedException.class, e.getCause());
-            assertEquals(503, cause.getStatusCode());
+            assertEquals(504, cause.getStatusCode());
         }
     }