cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/3] cxf-fediz git commit: Fixing test for Tomcat plugins
Date Mon, 19 Dec 2016 14:18:35 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/1.2.x-fixes 3164f0405 -> 73a11b5f2


Fixing test for Tomcat plugins


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/185174b9
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/185174b9
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/185174b9

Branch: refs/heads/1.2.x-fixes
Commit: 185174b9abff33ca59128790faea17d67238de4e
Parents: 3164f04
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Dec 19 10:52:29 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Dec 19 14:16:59 2016 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/fediz/integrationtests/AbstractTests.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/185174b9/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
----------------------------------------------------------------------
diff --git a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
index 3481c34..40c2d59 100644
--- a/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
+++ b/systests/tests/src/test/java/org/apache/cxf/fediz/integrationtests/AbstractTests.java
@@ -742,7 +742,8 @@ public abstract class AbstractTests {
             // expected
             Assert.assertTrue(ex.getMessage().contains("401 Unauthorized")
                               || ex.getMessage().contains("401 Authentication Failed")
-                              || ex.getMessage().contains("403 Forbidden"));
+                              || ex.getMessage().contains("403 Forbidden")
+                              || ex.getMessage().contains("408 Request Timeout"));
         }
         
         // webClient.close();


Mime
View raw message