| | |
| | | import org.opends.server.core.ModifyOperation; |
| | | import org.opends.server.core.ModifyOperationBasis; |
| | | import org.opends.server.protocols.internal.InternalClientConnection; |
| | | import org.opends.server.replication.service.ReplicationBroker; |
| | | import org.opends.server.replication.common.ChangeNumberGenerator; |
| | | import org.opends.server.replication.plugin.ReplicationBroker; |
| | | import org.opends.server.replication.protocol.DeleteMsg; |
| | | import org.opends.server.replication.protocol.ModifyMsg; |
| | | import org.opends.server.replication.protocol.ReplicationMsg; |
| | | import org.opends.server.types.Attribute; |
| | |
| | | + "objectClass: ds-cfg-replication-server\n" |
| | | + "cn: Replication Server\n" |
| | | + "ds-cfg-replication-port: " + replServerPort + "\n" |
| | | + "ds-cfg-replication-db-directory: SchemaReplicationTest\n" |
| | | + "ds-cfg-replication-db-directory: SchemaReplicationTest\n" |
| | | + "ds-cfg-replication-server-id: 105\n"; |
| | | replServerEntry = TestCaseUtils.entryFromLdifString(replServerLdif); |
| | | |
| | |
| | | * Checks that changes done to the schema files are pushed to the |
| | | * ReplicationServers and that the ServerState is updated in the schema |
| | | * file. |
| | | * FIXME: This test is disabled because it has side effects. |
| | | * It causes schema tests in org.opends.server.core.AddOperationTestCase |
| | | * to fail when running the build test target. |
| | | */ |
| | | @Test(enabled=true, dependsOnMethods = { "replaySchemaChange" }) |
| | | public void pushSchemaFilesChange() throws Exception |
| | |
| | | |
| | | ReplicationBroker broker = |
| | | openReplicationSession(baseDn, (short) 3, 100, replServerPort, 5000, true); |
| | | |
| | | |
| | | try |
| | | { |
| | | // create a schema change Notification |