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

Jean-Noel Rouvignac
27.25.2013 93610df181b2bae16dfda4a8aee38809ad966738
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 27, 2013 13:25 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 27, 2013 13:25 +0200
commit93610df181b2bae16dfda4a8aee38809ad966738
tree 65c12c457d8ab074442cd39310139cc9825c7648 tree | zip | gz
parent a5f828cdb6549933c9f49783f99be1de1085a75e view | diff
Fixed the broken tests in ReplicationServerTest.

ReplicationDbEnv.java:
Decoupled the call to start() from building the object + Made start() a public method.
Inlined the code from readDomainBaseDNGenerationIDRecords() and readServerIdDomainBaseDNRecords() into start() to avoid reading twice the DB on startup.
Extracted method openDatabase().

ReplicationServer.java:
In initialize(), called ReplicationDbEnv.start().
2 files modified
153 ■■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/ReplicationDbEnv.java 148 ●●●●● diff | view | raw | blame | history