Author: markt
Date: Mon Jan  7 13:41:26 2019
New Revision: 1850641

URL: http://svn.apache.org/viewvc?rev=1850641&view=rev
Log:
Fix logic of GCM support check

Modified:
    
tomcat/tc8.5.x/trunk/test/org/apache/catalina/tribes/group/interceptors/TestEncryptInterceptor.java

Modified: 
tomcat/tc8.5.x/trunk/test/org/apache/catalina/tribes/group/interceptors/TestEncryptInterceptor.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/test/org/apache/catalina/tribes/group/interceptors/TestEncryptInterceptor.java?rev=1850641&r1=1850640&r2=1850641&view=diff
==============================================================================
--- 
tomcat/tc8.5.x/trunk/test/org/apache/catalina/tribes/group/interceptors/TestEncryptInterceptor.java
 (original)
+++ 
tomcat/tc8.5.x/trunk/test/org/apache/catalina/tribes/group/interceptors/TestEncryptInterceptor.java
 Mon Jan  7 13:41:26 2019
@@ -292,7 +292,7 @@ public class TestEncryptInterceptor {
             dest.setEncryptionAlgorithm("AES/GCM/PKCS5Padding");
             dest.start(Channel.SND_TX_SEQ);
         } catch (ChannelException ce) {
-            Assume.assumeTrue("Skipping testGCM due to lack of JVM support",
+            Assume.assumeFalse("Skipping testGCM due to lack of JVM support",
                     ce.getCause() instanceof NoSuchAlgorithmException
                     && ce.getCause().getMessage().contains("GCM"));
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to