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

gbellato
09.15.2006 92a7350758362b7b90576a01fdf96417298e0a5c
refs
author gbellato <gbellato@localhost>
Monday, October 9, 2006 16:15 +0200
committer gbellato <gbellato@localhost>
Monday, October 9, 2006 16:15 +0200
commit92a7350758362b7b90576a01fdf96417298e0a5c
tree bdfa59498bc45db2b0e5481694cc1eec20005dca tree | zip | gz
parent bdec01e02d0790e0e5cb9b635bd200bd2ed0312b 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
opends/src/server/org/opends/server/changelog/ProtocolSession.java 15 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/changelog/SerializingProtocolSession.java 8 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/changelog/SocketSession.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/AddMsg.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/ChangelogBroker.java 81 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/DeleteMsg.java 14 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java 26 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/ServerState.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java 61 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/UpdateMessage.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 29 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java 4 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/UpdateOperationTest.java 853 ●●●● diff | view | raw | blame | history