directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1410381 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/authn/ppolicy/PasswordPolicyIT.java
Date Fri, 16 Nov 2012 14:55:36 GMT
Author: pamarcelot
Date: Fri Nov 16 14:55:36 2012
New Revision: 1410381

URL: http://svn.apache.org/viewvc?rev=1410381&view=rev
Log:
Added an extra wait to fix an intermittent build issue on Windows.

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/authn/ppolicy/PasswordPolicyIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/authn/ppolicy/PasswordPolicyIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/authn/ppolicy/PasswordPolicyIT.java?rev=1410381&r1=1410380&r2=1410381&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/authn/ppolicy/PasswordPolicyIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/authn/ppolicy/PasswordPolicyIT.java
Fri Nov 16 14:55:36 2012
@@ -257,6 +257,9 @@ public class PasswordPolicyIT extends Ab
             assertFalse( userConnection.isAuthenticated() );
         }
         
+        // Added an extra wait (for Windows)
+        Thread.sleep( 2000 );
+        
         userEntry = adminConnection.lookup( userDn, SchemaConstants.ALL_ATTRIBUTES_ARRAY
);
         Attribute pwdAccountLockedTime = userEntry.get( PasswordPolicySchemaConstants.PWD_ACCOUNT_LOCKED_TIME_AT
);
         assertNotNull( pwdAccountLockedTime );



Mime
View raw message