directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1509907 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java
Date Fri, 02 Aug 2013 23:09:40 GMT
Author: elecharny
Date: Fri Aug  2 23:09:40 2013
New Revision: 1509907

URL: http://svn.apache.org/r1509907
Log:
Start the replication consumers thread after the configuration has been read, otherwise we
may have a null configuration.

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

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=1509907&r1=1509906&r2=1509907&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 Aug  2 23:09:40 2013
@@ -622,7 +622,6 @@ public class ClientServerReplicationIT
         replConsumers.add( consumer );
 
         consumerServer.setReplConsumers( replConsumers );
-        consumerServer.startReplicationConsumers();
 
         Runnable r = new Runnable()
         {
@@ -669,5 +668,7 @@ public class ClientServerReplicationIT
         t.setDaemon( true );
         t.start();
         t.join();
+
+        consumerServer.startReplicationConsumers();
     }
 }



Mime
View raw message