directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1151347 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java
Date Wed, 27 Jul 2011 06:11:01 GMT
Author: kayyagari
Date: Wed Jul 27 06:11:00 2011
New Revision: 1151347

URL: http://svn.apache.org/viewvc?rev=1151347&view=rev
Log:
o fixed compiler errors

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=1151347&r1=1151346&r2=1151347&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
Wed Jul 27 06:11:00 2011
@@ -401,8 +401,8 @@ public class ClientServerReplicationIT
         
         SyncReplConsumer syncreplClient = new SyncReplConsumer();
         final SyncreplConfiguration config = new SyncreplConfiguration();
-        config.setProviderHost( "localhost" );
-        config.setPort( 16000 );
+        config.setRemoteHost( "localhost" );
+        config.setRemotePort( 16000 );
         config.setReplUserDn( "uid=admin,ou=system" );
         config.setReplUserPassword( "secret".getBytes() );
         config.setUseTls( false );
@@ -433,8 +433,8 @@ public class ClientServerReplicationIT
                     provConfigEntry.add( "objectClass", "ads-replConsumer" );
                     provConfigEntry.add( "ads-replConsumerId", "localhost" );
                     provConfigEntry.add( "ads-searchBaseDN", config.getBaseDn() );
-                    provConfigEntry.add( "ads-replProvHostName", config.getProviderHost()
);
-                    provConfigEntry.add( "ads-replProvPort", String.valueOf( config.getPort()
) );
+                    provConfigEntry.add( "ads-replProvHostName", config.getRemoteHost() );
+                    provConfigEntry.add( "ads-replProvPort", String.valueOf( config.getRemotePort()
) );
                     provConfigEntry.add( "ads-replAliasDerefMode", config.getAliasDerefMode().getJndiValue()
);
                     provConfigEntry.add( "ads-replAttributes", config.getAttributes() );
                     provConfigEntry.add( "ads-replRefreshInterval", String.valueOf( config.getRefreshInterval()
) );



Mime
View raw message