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

neil_a_wilson
06.10.2007 9565364229fb92a92b66cd3c3890a74942fe2f76
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
commit9565364229fb92a92b66cd3c3890a74942fe2f76
tree 05a58bffe1270f3d9e7a183d7d3fe463c05e7029 tree | zip | gz
parent 3f7386f4a614ad1313d4b09600ee23544a4ad951 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
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/AbandonOperationTestCase.java 45 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/BindOperationTestCase.java 16 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/CompareOperationTestCase.java 34 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/SearchOperationTestCase.java 12 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestModifyDNOperation.java 48 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/UnbindOperationTestCase.java 4 ●●●● diff | view | raw | blame | history