directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r955942 - in /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations: lookup/LookupPerfIT.java search/SearchIT.java search/SearchPerfIT.java
Date Fri, 18 Jun 2010 11:22:49 GMT
Author: elecharny
Date: Fri Jun 18 11:22:49 2010
New Revision: 955942

URL: http://svn.apache.org/viewvc?rev=955942&view=rev
Log:
Removed @Ignore tags for some tests

Modified:
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupPerfIT.java
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchIT.java
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupPerfIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupPerfIT.java?rev=955942&r1=955941&r2=955942&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupPerfIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/lookup/LookupPerfIT.java
Fri Jun 18 11:22:49 2010
@@ -43,7 +43,6 @@ import org.apache.directory.server.ldap.
 import org.apache.directory.shared.ldap.entry.Entry;
 import org.apache.directory.shared.ldap.jndi.JndiUtils;
 import org.apache.directory.shared.ldap.message.control.Control;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -67,7 +66,6 @@ public class LookupPerfIT extends Abstra
      * Evaluate the lookup operation performances
      */
     @Test
-    @Ignore
     public void testLookupPerfAPI() throws Exception
     {
         LdapConnection connection = getClientApiConnection( ldapServer );
@@ -120,7 +118,6 @@ public class LookupPerfIT extends Abstra
      * Evaluate the lookup operation performances
      */
     @Test
-    @Ignore
     public void testLookupPerfJNDI() throws Exception
     {
         LdapContext ctx = getWiredContext( ldapServer, null );

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchIT.java?rev=955942&r1=955941&r2=955942&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchIT.java
Fri Jun 18 11:22:49 2010
@@ -1687,15 +1687,18 @@ public class SearchIT extends AbstractLd
 
         Cursor<SearchResponse> cursor = connection.search( req );
         int count = 0;
+        
         while ( cursor.next() )
         {
             ++count;
         }
+        
         cursor.close();
 
         req.setTimeLimit( 1 );
         cursor = connection.search( req );
         int newCount = 0;
+        
         while ( cursor.next() )
         {
             ++newCount;

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java?rev=955942&r1=955941&r2=955942&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/search/SearchPerfIT.java
Fri Jun 18 11:22:49 2010
@@ -34,7 +34,6 @@ import org.apache.directory.server.ldap.
 import org.apache.directory.shared.ldap.cursor.Cursor;
 import org.apache.directory.shared.ldap.exception.LdapException;
 import org.apache.directory.shared.ldap.filter.SearchScope;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -60,7 +59,6 @@ public class SearchPerfIT extends Abstra
      * test a search request perf.
      */
     @Test
-    @Ignore
     public void testSearchRequestPerf() throws Exception
     {
         //ldapServer.getDirectoryService().getInterceptorChain().addFirst( new TimerInterceptor(
"Start" ) );



Mime
View raw message