cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/4] cxf-fediz git commit: Fixing test for Tomcat plugins
Date Mon, 19 Dec 2016 14:02:50 GMT
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/00b80344
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/00b80344
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/00b80344

Branch: refs/heads/1.3.x-fixes
Commit: 00b803442c3addf08953f436fb0e4f787265a905
Parents: 349c346
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:02:27 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/00b80344/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 8daaa14..9104d64 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
@@ -798,7 +798,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