Commits

Anonymous committed 1e7b6c0

Added an extra wait to fix an intermittent build issue on Windows.

git-svn-id: https://svn.apache.org/repos/asf/directory/apacheds/trunk@141038113f79535-47bb-0310-9956-ffa450edef68

Comments (0)

Files changed (1)

core-integ/src/test/java/org/apache/directory/server/core/authn/ppolicy/PasswordPolicyIT.java

             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 );