directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1554557 - in /directory/apacheds/trunk/mmr-tests: pom.xml src/test/java/org/apache/directory/server/ldap/replication/MmrTester.java
Date Tue, 31 Dec 2013 16:40:08 GMT
Author: kayyagari
Date: Tue Dec 31 16:40:07 2013
New Revision: 1554557

URL: http://svn.apache.org/r1554557
Log:
updated to use the latest snapshot version

Modified:
    directory/apacheds/trunk/mmr-tests/pom.xml
    directory/apacheds/trunk/mmr-tests/src/test/java/org/apache/directory/server/ldap/replication/MmrTester.java

Modified: directory/apacheds/trunk/mmr-tests/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mmr-tests/pom.xml?rev=1554557&r1=1554556&r2=1554557&view=diff
==============================================================================
--- directory/apacheds/trunk/mmr-tests/pom.xml (original)
+++ directory/apacheds/trunk/mmr-tests/pom.xml Tue Dec 31 16:40:07 2013
@@ -23,7 +23,7 @@
   <parent>
     <groupId>org.apache.directory.server</groupId>
     <artifactId>apacheds-parent</artifactId>
-    <version>2.0.0-M9-SNAPSHOT</version>
+    <version>2.0.0-M16-SNAPSHOT</version>
   </parent>
 
   <artifactId>apacheds-mmr-tests</artifactId>
@@ -56,23 +56,23 @@
     </dependency>
 
     <dependency>
-      <groupId>org.apache.directory.shared</groupId>
-      <artifactId>shared-ldap-model</artifactId>
+      <groupId>org.apache.directory.api</groupId>
+      <artifactId>api-ldap-model</artifactId>
     </dependency>
     
     <dependency>
-      <groupId>org.apache.directory.shared</groupId>
-      <artifactId>shared-ldap-schema-data</artifactId>
+      <groupId>org.apache.directory.api</groupId>
+      <artifactId>api-ldap-schema-data</artifactId>
     </dependency>
     
     <dependency>
-      <groupId>org.apache.directory.shared</groupId>
-      <artifactId>shared-util</artifactId>
+      <groupId>org.apache.directory.api</groupId>
+      <artifactId>api-util</artifactId>
     </dependency>
     
     <dependency>
-      <groupId>org.apache.directory.shared</groupId>
-      <artifactId>shared-ldap-client-api</artifactId>
+      <groupId>org.apache.directory.api</groupId>
+      <artifactId>api-ldap-client-api</artifactId>
     </dependency>
 
   </dependencies>

Modified: directory/apacheds/trunk/mmr-tests/src/test/java/org/apache/directory/server/ldap/replication/MmrTester.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mmr-tests/src/test/java/org/apache/directory/server/ldap/replication/MmrTester.java?rev=1554557&r1=1554556&r2=1554557&view=diff
==============================================================================
--- directory/apacheds/trunk/mmr-tests/src/test/java/org/apache/directory/server/ldap/replication/MmrTester.java
(original)
+++ directory/apacheds/trunk/mmr-tests/src/test/java/org/apache/directory/server/ldap/replication/MmrTester.java
Tue Dec 31 16:40:07 2013
@@ -30,6 +30,24 @@ import java.util.Random;
 import java.util.Set;
 import java.util.concurrent.atomic.AtomicInteger;
 
+import org.apache.directory.api.ldap.model.constants.SchemaConstants;
+import org.apache.directory.api.ldap.model.cursor.EntryCursor;
+import org.apache.directory.api.ldap.model.entry.DefaultEntry;
+import org.apache.directory.api.ldap.model.entry.Entry;
+import org.apache.directory.api.ldap.model.message.DeleteRequest;
+import org.apache.directory.api.ldap.model.message.DeleteRequestImpl;
+import org.apache.directory.api.ldap.model.message.DeleteResponse;
+import org.apache.directory.api.ldap.model.message.ModifyDnRequest;
+import org.apache.directory.api.ldap.model.message.ModifyDnRequestImpl;
+import org.apache.directory.api.ldap.model.message.ModifyDnResponse;
+import org.apache.directory.api.ldap.model.message.ModifyRequest;
+import org.apache.directory.api.ldap.model.message.ModifyRequestImpl;
+import org.apache.directory.api.ldap.model.message.ModifyResponse;
+import org.apache.directory.api.ldap.model.message.ResultCodeEnum;
+import org.apache.directory.api.ldap.model.message.SearchScope;
+import org.apache.directory.api.ldap.model.name.Dn;
+import org.apache.directory.api.ldap.model.name.Rdn;
+import org.apache.directory.api.ldap.model.url.LdapUrl;
 import org.apache.directory.ldap.client.api.LdapNetworkConnection;
 import org.apache.directory.server.annotations.CreateConsumer;
 import org.apache.directory.server.annotations.CreateLdapServer;
@@ -47,24 +65,6 @@ import org.apache.directory.server.ldap.
 import org.apache.directory.server.ldap.replication.consumer.ReplicationConsumer;
 import org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl;
 import org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler;
-import org.apache.directory.shared.ldap.model.constants.SchemaConstants;
-import org.apache.directory.shared.ldap.model.cursor.EntryCursor;
-import org.apache.directory.shared.ldap.model.entry.DefaultEntry;
-import org.apache.directory.shared.ldap.model.entry.Entry;
-import org.apache.directory.shared.ldap.model.message.DeleteRequest;
-import org.apache.directory.shared.ldap.model.message.DeleteRequestImpl;
-import org.apache.directory.shared.ldap.model.message.DeleteResponse;
-import org.apache.directory.shared.ldap.model.message.ModifyDnRequest;
-import org.apache.directory.shared.ldap.model.message.ModifyDnRequestImpl;
-import org.apache.directory.shared.ldap.model.message.ModifyDnResponse;
-import org.apache.directory.shared.ldap.model.message.ModifyRequest;
-import org.apache.directory.shared.ldap.model.message.ModifyRequestImpl;
-import org.apache.directory.shared.ldap.model.message.ModifyResponse;
-import org.apache.directory.shared.ldap.model.message.ResultCodeEnum;
-import org.apache.directory.shared.ldap.model.message.SearchScope;
-import org.apache.directory.shared.ldap.model.name.Dn;
-import org.apache.directory.shared.ldap.model.name.Rdn;
-import org.apache.directory.shared.ldap.model.url.LdapUrl;
 
 /**
  * Holds the configuration and instances of connections
@@ -85,7 +85,7 @@ public class MmrTester
     
     private List<LdapNetworkConnection> connections;
     
-    private static final int TOTAL_ENTRY_COUNT = 10;
+    private static final int TOTAL_ENTRY_COUNT = 200;
     
     private AtomicInteger count = new AtomicInteger(-1);
     
@@ -518,7 +518,7 @@ public class MmrTester
     
     public static void main( String[] args )
     {
-        MmrTester cc = new MmrTester( "ldap://localhost:16389", "ldap://localhost:17389"
);
+        MmrTester cc = new MmrTester( "ldap://localhost:16001", "ldap://localhost:16000"
);
         
         if( TOTAL_ENTRY_COUNT < 150 )
         {
@@ -565,11 +565,11 @@ public class MmrTester
 
             t2.setDaemon( true );
             
-//            t1.start();
-//            t2.start();
-//            
-//            t1.join();
-//            t2.join();
+            t1.start();
+            t2.start();
+            
+            t1.join();
+            t2.join();
             
             cc.prepareConnections();
 
@@ -606,7 +606,7 @@ public class MmrTester
         finally
         {
             cc.closeConnections();
-//            shutdown();
+            shutdown();
         }
     }
 



Mime
View raw message