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

gbellato
08.38.2007 cdab2377cddfa1bc62ea24292a124793350dc6ba
refs
author gbellato <gbellato@localhost>
Monday, January 8, 2007 16:38 +0100
committer gbellato <gbellato@localhost>
Monday, January 8, 2007 16:38 +0100
commitcdab2377cddfa1bc62ea24292a124793350dc6ba
tree 682130b5f7c1c4ca210eb450ab30c9896aadb401 tree | zip | gz
parent 85cc36d8643b45d68314e6194313b1bb3b4c1cb9 view | diff
Fix a problem in org.opends.server.synchronization.common.ChangeNumberGenerator.adjust()
found by a code review where this method can fail because it only increment the time
by one unit even if the time difference is larger than this.

This bug has not visible impact yet because the synchronization operation dependencies
is not yet implemented.

Issue number 1134

This commit also add a unit test for this adjust method
1 files modified
1 files added
60 ■■■■■ changed files
opends/src/server/org/opends/server/synchronization/common/ChangeNumberGenerator.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/common/ChangeNumberGeneratorTest.java 58 ●●●●● diff | view | raw | blame | history