Fixing test

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

Branch: refs/heads/3.0.x-fixes
Commit: 19f045aa20c73a5771dc23370cc8ee458aaad28f
Parents: 25fc45c
Author: Colm O hEigeartaigh <[email protected]>
Authored: Tue Oct 20 15:32:36 2015 +0100
Committer: Colm O hEigeartaigh <[email protected]>
Committed: Tue Oct 20 15:32:36 2015 +0100

----------------------------------------------------------------------
 .../cxf/systest/jaxrs/security/jwt/JweJwsAlgorithmTest.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/19f045aa/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JweJwsAlgorithmTest.java
----------------------------------------------------------------------
diff --git 
a/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JweJwsAlgorithmTest.java
 
b/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JweJwsAlgorithmTest.java
index 1ae8c00..4bbc765 100644
--- 
a/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JweJwsAlgorithmTest.java
+++ 
b/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/jwt/JweJwsAlgorithmTest.java
@@ -230,6 +230,11 @@ public class JweJwsAlgorithmTest extends 
AbstractBusClientServerTestBase {
     // 1024 bits not allowed with RSA according to the spec
     @org.junit.Test
     public void testSmallEncryptionKeySize() throws Exception {
+        
+        if (SKIP_AES_GCM_TESTS) {
+            return;
+        }
+        
         URL busFile = JweJwsAlgorithmTest.class.getResource("client.xml");
 
         List<Object> providers = new ArrayList<Object>();

Reply via email to