directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1145087 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/ClientServerReplicationIT.java
Date Mon, 11 Jul 2011 09:31:46 GMT
Author: pamarcelot
Date: Mon Jul 11 09:31:46 2011
New Revision: 1145087

URL: http://svn.apache.org/viewvc?rev=1145087&view=rev
Log:
Fixed the following exception showing up in the logs while executing tests:
org.apache.directory.shared.ldap.model.exception.LdapSchemaViolationException: ERR_279 Required
attributes [ads-replConsumerId(1.3.6.1.4.1.18060.0.4.1.2.837)] not found within entry ads-replProviderId=localhost,ou=system

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=1145087&r1=1145086&r2=1145087&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
Mon Jul 11 09:31:46 2011
@@ -349,12 +349,12 @@ public class ClientServerReplicationIT
                     
                     DirectoryService ds = consumerServer.getDirectoryService();
                     
-                    Dn configDn = new Dn( ds.getSchemaManager(), "ads-replProviderId=localhost,ou=system"
);
+                    Dn configDn = new Dn( ds.getSchemaManager(), "ads-replConsumerId=localhost,ou=system"
);
                     config.setConfigEntryDn( configDn );
                     
                     Entry provConfigEntry = new DefaultEntry( ds.getSchemaManager(), configDn
);
                     provConfigEntry.add( "objectClass", "ads-replConsumer" );
-                    provConfigEntry.add( "ads-replProviderId", "localhost" );
+                    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()
) );



Mime
View raw message