2721N/A * The contents of this file are subject to the terms of the 2721N/A * Common Development and Distribution License, Version 1.0 only 2721N/A * (the "License"). You may not use this file except in compliance 2721N/A * You can obtain a copy of the license at 2721N/A * See the License for the specific language governing permissions 2721N/A * and limitations under the License. 2721N/A * When distributing Covered Code, include this CDDL HEADER in each 2721N/A * file and include the License file at 2721N/A * add the following below this CDDL HEADER, with the fields enclosed 2721N/A * by brackets "[]" replaced with your own identifying information: 2721N/A * Portions Copyright [yyyy] [name of copyright owner] 5205N/A * Copyright 2008-2010 Sun Microsystems, Inc. 5753N/A * Portions Copyright 2011-2012 ForgeRock AS 2721N/A * Test the usage of the historical data of the replication. 2721N/A * Check the basic comparator on the HistoricalCsnOrderingMatchingRule 3988N/A * Test that we can retrieve the entries that were missed by 2721N/A * a replication server and can re-build operations from the historical 4908N/A // Create Replication Server and Domain 2721N/A "Starting replication test : changesCmpTest"));
2721N/A // Add the first test entry. 2721N/A "objectClass: organizationalPerson",
2721N/A "objectClass: inetOrgPerson",
2721N/A // Perform a first modification to update the historical attribute 2721N/A // Read the entry back to get its historical and included changeNumber 3988N/A // Perform a 2nd modification to update the hist attribute with 2721N/A // Build a change number from the first modification 4908N/A * Test that we can retrieve the entries that were missed by 4908N/A * a replication server and can re-build operations from the historical 4908N/A // Create Replication Server and Domain 4908N/A "Starting replication test : changesCmpTest"));
4908N/A "objectClass: organizationalPerson",
4908N/A "objectClass: inetOrgPerson",
4908N/A "objectClass: organizationalPerson",
4908N/A "objectClass: inetOrgPerson",
4908N/A "objectClass: organizationalPerson",
4908N/A "objectClass: inetOrgPerson",
4908N/A // Perform modifications on the 2 entries 4908N/A // Call the buildAndPublishMissingChanges and check that this method 4908N/A // correctly generates the 4 operations in the correct order. 4908N/A fail(
"Unable to determinate some free ports " +