camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: Fixed test
Date Tue, 06 Dec 2016 15:52:52 GMT
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 <davsclaus@apache.org>
Authored: Tue Dec 6 16:52:25 2016 +0100
Committer: Claus Ibsen <davsclaus@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());
         }
     }
 


Mime
View raw message