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

Jean-Noel Rouvignac
19.21.2013 9c99e9cd7d4467d04da5321ee411b5c83b451f4a
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, December 19, 2013 10:21 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, December 19, 2013 10:21 +0100
commit9c99e9cd7d4467d04da5321ee411b5c83b451f4a
tree 23f80f89877ee3ecc13cf121ec476cafa5695dcc tree | zip | gz
parent e7cd8f6fc7724387a5d0e6d750b5e0f739f56eb0 view | diff
Fixing test failure in Continuous Integration.

ReplicationServerTest.java:
In windowProbeTest(), code only expected to receive a WindowMsg in answer to a WindowProbeMsg sent out. The twist is that it only cares about receiving a WindowMsg which means it can discard every other type of messages in the interim, particularly the ones coming from the protocol: MonitorMsgs, HeartbeatMsgs, etc. Used ReplicationTestCase.waitForSpecificMsg() to achieve this.

AssuredReplicationPluginTest.java:
Code cleanup.
2 files modified
184 ■■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/AssuredReplicationPluginTest.java 182 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 2 ●●● diff | view | raw | blame | history