directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1152180 - in /directory/apacheds/trunk: protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java
Date Fri, 29 Jul 2011 12:09:08 GMT
Author: kayyagari
Date: Fri Jul 29 12:09:07 2011
New Revision: 1152180

URL: http://svn.apache.org/viewvc?rev=1152180&view=rev
Log:
o fixed a regression caused by an accidental removal of the default constructor
o removed the @Ignore annotation as the test passes now

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java?rev=1152180&r1=1152179&r2=1152180&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventMessage.java
Fri Jul 29 12:09:07 2011
@@ -71,6 +71,18 @@ public class ReplicaEventMessage impleme
     
 
     /**
+     *  creates an instance of ReplicaEventMessage.
+     *  
+     *  NOTE: This is required by the event log manager while deserializing.
+     *        <b>DO NOT remove</b>.
+     */
+    public ReplicaEventMessage()
+    {
+        codec = LdapApiServiceFactory.getSingleton();
+    }
+    
+    
+    /**
      * Create a new ReplicaEvent instance for a Add/Delete+Modify operation
      * @param eventType The event type
      * @param entry The entry

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java?rev=1152180&r1=1152179&r2=1152180&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java
Fri Jul 29 12:09:07 2011
@@ -55,7 +55,6 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.model.schema.SchemaManager;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -240,7 +239,6 @@ public class ClientServerReplicationIT
     
     
     @Test
-    @Ignore
     public void testRebootConsumer() throws Exception
     {
         System.out.println( "----> 1 testRebootConsumer started --------------------------------"
);



Mime
View raw message