ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1150102 - /webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
Date Sat, 23 Jul 2011 13:26:59 GMT
Author: coheigea
Date: Sat Jul 23 13:26:57 2011
New Revision: 1150102

URL: http://svn.apache.org/viewvc?rev=1150102&view=rev
Log:
Making it less likely UTDK test will fail

Modified:
    webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java

Modified: webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java?rev=1150102&r1=1150101&r2=1150102&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
(original)
+++ webservices/wss4j/trunk/src/test/java/org/apache/ws/security/message/UTDerivedKeyTest.java
Sat Jul 23 13:26:57 2011
@@ -224,11 +224,8 @@ public class UTDerivedKeyTest extends or
         builder.prepare(doc);
         
         byte[] derivedKey = builder.getDerivedKey();
-        if (derivedKey[5] != 12) {
-            derivedKey[5] = 12;
-        } else {
-            derivedKey[5] = 13;
-        }
+        derivedKey[5] = 'z';
+        derivedKey[6] = 'a';
         assertTrue(derivedKey.length == 20);
         
         String tokenIdentifier = builder.getId();



Mime
View raw message