geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r123438 - /geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java
Date Mon, 27 Dec 2004 18:51:47 GMT
Author: adc
Date: Mon Dec 27 10:51:46 2004
New Revision: 123438

URL: http://svn.apache.org/viewcvs?view=rev&rev=123438
Log:
Undo workaround.
Modified:
   geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java

Modified: geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java
Url: http://svn.apache.org/viewcvs/geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java?view=diff&rev=123438&p1=geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java&r1=123437&p2=geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java&r2=123438
==============================================================================
--- geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java
(original)
+++ geronimo/trunk/modules/security/src/test/org/apache/geronimo/security/jaas/TimeoutTest.java
Mon Dec 27 10:51:46 2004
@@ -60,7 +60,7 @@
         loginService = new ObjectName("geronimo.security:type=JaasLoginService");
         gbean.setReferencePatterns("Realms", Collections.singleton(new ObjectName("geronimo.security:type=SecurityRealm,*")));
         gbean.setAttribute("expiredLoginScanIntervalMillis", new Integer(50));
-        gbean.setAttribute("maxLoginDurationMillis", new Integer(2000));  // TODO: reset
back to 1s
+        gbean.setAttribute("maxLoginDurationMillis", new Integer(1000));
         gbean.setAttribute("algorithm", "HmacSHA1");
         gbean.setAttribute("password", "secret");
         kernel.loadGBean(loginService, gbean);
@@ -185,7 +185,7 @@
 
         assertTrue("id of server subject should be non-null", ContextManager.getSubjectId(subject)
!= null);
 
-        Thread.sleep(2700); // wait for timeout to kick in TODO: reset back to 1.7s
+        Thread.sleep(1700); // wait for timeout to kick in
 
         assertTrue("id of server subject should be null", ContextManager.getSubjectId(subject)
== null);
     }

Mime
View raw message