directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r916994 - /directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
Date Sat, 27 Feb 2010 17:24:16 GMT
Author: elecharny
Date: Sat Feb 27 17:24:16 2010
New Revision: 916994

URL: http://svn.apache.org/viewvc?rev=916994&view=rev
Log:
Decrease the number of loop to avoid a Too Many Open File issue on linux

Modified:
    directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java

Modified: directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
URL: http://svn.apache.org/viewvc/directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java?rev=916994&r1=916993&r2=916994&view=diff
==============================================================================
--- directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
(original)
+++ directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
Sat Feb 27 17:24:16 2010
@@ -163,7 +163,7 @@
     @Test
     public void testSimpleBindAnonymous() throws Exception
     {
-        for ( int i = 0; i < 100; i++)
+        for ( int i = 0; i < 5; i++)
         {
             //System.out.println( "------------------Create connection" + i + "-------------"
);
             LdapConnection connection = new LdapConnection( "localhost", ldapServer.getPort()
);



Mime
View raw message