You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2010/02/27 18:24:16 UTC
svn commit: r916994 -
/directory/clients/ldap/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
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() );