cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Fixing failing test on JDK 7 with limited security
Date Thu, 22 Sep 2016 11:15:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes a2f2eb7e2 -> 389ccba09


Fixing failing test on JDK 7 with limited security


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

Branch: refs/heads/3.1.x-fixes
Commit: 389ccba093d12befd504c17042b2961022e6367f
Parents: a2f2eb7
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Sep 22 12:14:21 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Sep 22 12:14:21 2016 +0100

----------------------------------------------------------------------
 .../src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java     | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/389ccba0/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
index d20179f..d6ba498 100644
--- a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
+++ b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
@@ -104,6 +104,10 @@ public class GCMTest extends AbstractBusClientServerTestBase {
     
     @org.junit.Test
     public void testAESGCM128() throws Exception {
+        if (!unrestrictedPoliciesInstalled) {
+            return;
+        }
+        
         //
         // This test fails with the IBM JDK 7
         // IBM JDK 7 appears to require a GCMParameter class to be used, which


Mime
View raw message