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 2011/02/19 18:10:32 UTC
svn commit: r1072398 - in /directory/apacheds/branches/m1:
ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java
Author: elecharny
Date: Sat Feb 19 17:10:31 2011
New Revision: 1072398
URL: http://svn.apache.org/viewvc?rev=1072398&view=rev
Log:
Removed the infinite TimeOut set for debugging purposes
Modified:
directory/apacheds/branches/m1/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
directory/apacheds/branches/m1/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java
Modified: directory/apacheds/branches/m1/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java?rev=1072398&r1=1072397&r2=1072398&view=diff
==============================================================================
--- directory/apacheds/branches/m1/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java (original)
+++ directory/apacheds/branches/m1/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/bind/SimpleBindRequestTest.java Sat Feb 19 17:10:31 2011
@@ -433,7 +433,6 @@ public class SimpleBindRequestTest exten
@Test
public void testSimpleBindInvalidFwdByValidOnSameCon() throws Exception
{
- connection.setTimeOut( Integer.MAX_VALUE );
BindResponse response = connection.bind( "uid=admin,ou=system", "wrongpwd" );
LdapResult ldapResult = response.getLdapResult();
assertEquals( ResultCodeEnum.INVALID_CREDENTIALS, ldapResult.getResultCode() );
Modified: directory/apacheds/branches/m1/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/m1/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java?rev=1072398&r1=1072397&r2=1072398&view=diff
==============================================================================
--- directory/apacheds/branches/m1/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java (original)
+++ directory/apacheds/branches/m1/server-integ/src/test/java/org/apache/directory/server/operations/add/AddIT.java Sat Feb 19 17:10:31 2011
@@ -1161,7 +1161,6 @@ public class AddIT extends AbstractLdapT
// Limit the PDU size to 1024
getLdapServer().getDirectoryService().setMaxPDUSize( 1024 );
LdapConnection connection = new LdapNetworkConnection( "localhost", getLdapServer().getPort() );
- connection.setTimeOut( Integer.MAX_VALUE );
connection.bind( "uid=admin,ou=system", "secret" );
// Inject a 1024 bytes long description