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

neil_a_wilson
06.10.2007 e60eb59c64c21b4801f079fcc54b824330246f7d
refs
author neil_a_wilson <neil_a_wilson@localhost>
Thursday, September 6, 2007 23:10 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Thursday, September 6, 2007 23:10 +0200
commite60eb59c64c21b4801f079fcc54b824330246f7d
tree 9a436dd48eafdd383a82d685a268fabde271dbcb tree | zip | gz
parent 6ea9a5bfc9ab04aa074676a3e6aa3b2ff35f63b6 view | diff
Disable the use of the Invocation Counter Plugin in our test cases to make
assertions about the number of times that various kinds of plugins were
invoked. A number of test cases making assertions about the invocation counts
were failing pretty frequently, and after analyzing the problem it is not
something that can be easily addressed.

The underlying causes include:
- Processing on unbind operations continuing in a separate thread from a
previous test case. Whenever the client sends an unbind request to the
server, it immediately disconnects and moves on to the next test case.
However, the server may continue to read and process that unbind operation
(including invoking plugins on it) in a separate thread.

- For modify DN operations, the referential integrity plugin was sometimes
responsible for invoking operations in the background that could increase the
invocation count.
6 files modified
159 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/core/AbandonOperationTestCase.java 45 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java 16 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/CompareOperationTestCase.java 34 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/SearchOperationTestCase.java 12 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestModifyDNOperation.java 48 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/UnbindOperationTestCase.java 4 ●●●● diff | view | raw | blame | history