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

gbellato
10.57.2007 845ce56b7df0b600d2ff87b3b9f5026fd980ab64
refs
author gbellato <gbellato@localhost>
Monday, December 10, 2007 17:57 +0100
committer gbellato <gbellato@localhost>
Monday, December 10, 2007 17:57 +0100
commit845ce56b7df0b600d2ff87b3b9f5026fd980ab64
tree 7e64e29f4bd10eb4abd82ec45683760216f24bc7 tree | zip | gz
parent 8fba7fb9423eedc34fb2fc01384688fb58e902c8 view | diff
This fixes 2724 : and enable/fix some more replication tests.

If the Replication Server is stopped while the ServerHandler writer threads are blocked waiting for some window credit they are blocked and don't stop
immediately.

This issue is minimal for real life but can cause unit test failure because replication Servers are stopped and started a number of times during the tests.

This commit also enabled some more replication tests and change them to make the
order in which they are run more predictible.
5 files modified
133 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerHandler.java 12 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java 9 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 108 ●●●● diff | view | raw | blame | history