mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
09.15.2006 7b84e53457bce1f0733afa87797afc9928568c52
refs
author gbellato <gbellato@localhost>
Monday, October 9, 2006 16:15 +0200
committer gbellato <gbellato@localhost>
Monday, October 9, 2006 16:15 +0200
commit7b84e53457bce1f0733afa87797afc9928568c52
tree f362c4183c413d15940bd73cd6673712786280b5 tree | zip | gz
parent 41fa9d8ab42e6b6d2fbe96d831ea35f346facc5f view | diff
- Change the synchronization code so that the
changelog server can now be used directly through the ChangelogBroker class
as a client API.

This is very usefull for testing because it allows to generate a wide variety of events
and therefore helps to test code that is otherwise rarely used and therefore difficult
to tests like :
.starting condition.
.conflicts resolution.
.tests of error conditions.
.fail-over tests.

- add the first set of tests for the currently available conflict resolution code.

- fix the two bugs (772 and 773) discovered when coding these tests.
13 files modified
1108 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/changelog/ProtocolSession.java 15 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/changelog/SerializingProtocolSession.java 8 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/changelog/SocketSession.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/AddMsg.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/ChangelogBroker.java 81 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/DeleteMsg.java 14 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java 26 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/ServerState.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java 61 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/UpdateMessage.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 29 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/UpdateOperationTest.java 853 ●●●● diff | view | raw | blame | history