externalchangelog.xml revision cb14498851c6fea33cd74b91864782161f0b87f0
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff<?xml version="1.0" encoding="UTF-8" standalone="no"?>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence ! CDDL HEADER START
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff ! The contents of this file are subject to the terms of the
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff ! Common Development and Distribution License, Version 1.0 only
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence ! (the "License"). You may not use this file except in compliance
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews ! with the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews ! You can obtain a copy of the license at
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews ! See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews ! and limitations under the License.
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff ! When distributing Covered Code, include this CDDL HEADER in each
26696386938e70e93d7dde509d7bc45ead5870b7Mark Andrews ! file and include the License file at
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
a6a0f270834347747db7a5febc1f90aef10465bfMichael Graff ! add the following below this CDDL HEADER, with the fields enclosed
a6a0f270834347747db7a5febc1f90aef10465bfMichael Graff ! by brackets "[]" replaced with your own identifying information:
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff ! Portions Copyright [yyyy] [name of copyright owner]
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff ! CDDL HEADER END
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff ! Copyright 2008-2009 Sun Microsystems, Inc.
b09983678f5d116d3c8387aaeab4f2dc4deb0454David Lawrence ! Portions Copyright 2011-2013 ForgeRock AS.
668f8d91db59f4dd89a0b54206f87879354339f5Brian Wellington <defaultcall function="replication_externalchangelog"/>
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff <function name="replication_externalchangelog">
0b764d91c9021259f15b32c4beec852f2888f40cBrian Wellington <!-- Do not run the tests if servers are split, as it is not supported
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark Andrews ! by External Changelog to have RS separated from DS -->
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff <message>'External changelog not supported in replication split servers mode.'</message>
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff <message>'This test suite will not be run for this reason.'</message>
af6e7e5cd2643e2aaaffefe1dd804a03394b4928Michael Graff CurrentTestPath['group']='replication'
af6e7e5cd2643e2aaaffefe1dd804a03394b4928Michael Graff CurrentTestPath['suite']='externalchangelog'
7f73d29ac5f21852b4bdee7e93a78967a715cbd5Andreas Gustafsson _group = 'replication'
7f73d29ac5f21852b4bdee7e93a78967a715cbd5Andreas Gustafsson _suite = 'externalchangelog'
7f73d29ac5f21852b4bdee7e93a78967a715cbd5Andreas Gustafsson _groupdir='%s/testcases/%s' % (TESTS_DIR,_group)
7f73d29ac5f21852b4bdee7e93a78967a715cbd5Andreas Gustafsson <!--- Test Suite information
55f3daa4ea84859f9753089831a950a4fd9678c3Brian Wellington #@TestSuiteName Replication External Changelog Tests
7f73d29ac5f21852b4bdee7e93a78967a715cbd5Andreas Gustafsson #@TestSuitePurpose Test the event notification system provided by
7f73d29ac5f21852b4bdee7e93a78967a715cbd5Andreas Gustafsson the External Changelog.
55f3daa4ea84859f9753089831a950a4fd9678c3Brian Wellington #@TestSuiteID External Changelog Tests
55f3daa4ea84859f9753089831a950a4fd9678c3Brian Wellington #@TestSuiteGroup External Changelog
55f3daa4ea84859f9753089831a950a4fd9678c3Brian Wellington #@TestGroup Replication
af6e7e5cd2643e2aaaffefe1dd804a03394b4928Michael Graff #@TestScript replication_externalchangelog.xml
af6e7e5cd2643e2aaaffefe1dd804a03394b4928Michael Graff file="'%s/testcases/replication/replication_setup.xml'
af6e7e5cd2643e2aaaffefe1dd804a03394b4928Michael Graff % (TESTS_DIR)"/>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <!-- Import the files for this test suite -->
af6e7e5cd2643e2aaaffefe1dd804a03394b4928Michael Graff file="'%s/testcases/%s/%s/%s_common_ecl_tests.xml'
47fa8b4c8fe337cba21eecb480a7d207a8fad134Brian Wellington % (TESTS_DIR, _group, _suite, _suite)"/>
b1ddf33030589510e1c6b71937c072c34a0ca189Michael Graff { 'ecl_mode' : ecl_mode }
fccf7905e8a06067d49ec00c53d4d57a38a71e52Michael Graff <!-- List of Import of Test Functions -->
d1be0cf18be1820f4612b2b5f0d9944a898ce884Bob Halley importList=[]
d1be0cf18be1820f4612b2b5f0d9944a898ce884Bob Halley importList.append('externalchangelog/externalchangelog_consistency_tests')
78d78f05d91205cbde33ca87d24b8d13aa2d8d66Brian Wellington <!-- Import the files for this test suite -->
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews file="'%s/%s.xml' % (_groupdir,__import)"/>
a7cb695600c3c14ac12676f0fb1e179690c5883cMark Andrews <!-- List of Test Cases -->
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein # Globals for cookies, changenumbers, lastchangenumbers
4034b7d6edd7c4c94e394d5a87757cf1f594ca1aBob Halley global_cookiesList=STAXGlobal([])
28fc90e6c81338c5f34e065fdda49d320e362583Mark Andrews global_cnsList=STAXGlobal([])
0468b44003332927e7517706c506375655888331Michael Graff global_lcnsList=STAXGlobal([])
f9df80f4348ef68043903efa08299480324f4823Michael Graff # List of tests to run
f9df80f4348ef68043903efa08299480324f4823Michael Graff testsList.append('ecl_changenumbers_001')
89a90040d5acde325379ef2c79c7d23d14c66428Michael Graff <!-- Execute the Tests -->
1ed4ba5a1fcb6aecd1c92fdcc75c6b4bbb7cc60fMichael Sawyer <catch exception="'STAFException.TestSuite.SetupException'">
c7868e2262d57451c7f0ce246be5f44e8c33f1e0Michael Sawyer 'Setup of test suite failed.'
7b24a94d119dd6b95b2f50241e5b96935601794bAndreas Gustafsson <message>'Test Cases Completed.'</message>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <!-- Test Suite Cleanup -->
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <message>'Finally: Replication Cleanup.'</message>
6850cdd4497424c9d42ade487edfde9fb9a47de9Brian Wellington file="'%s/testcases/replication/replication_cleanup.xml'
6850cdd4497424c9d42ade487edfde9fb9a47de9Brian Wellington % (TESTS_DIR)"/>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <message log="1" level="'fatal'">'Cleanup of test suite failed.'</message>