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

coulbeck
09.13.2006 bae7bd860f5156e452d86c1667f009d63522c7d3
refs
author coulbeck <coulbeck@localhost>
Monday, October 9, 2006 23:13 +0200
committer coulbeck <coulbeck@localhost>
Monday, October 9, 2006 23:13 +0200
commitbae7bd860f5156e452d86c1667f009d63522c7d3
tree 40f12748861940ed99daa6d528e9e27fc2d8babb tree | zip | gz
parent 3f31c391aa7fe3c835196a46b207621e3c6eaf07 view | diff
Tests that use the post-response plugin invocation counter are subject to race conditions.  An earlier test can complete successfully with an operation still running in the server, and this operation changes the values of the invocation counters while subsequent tests are running.

A new method InvocationCounterPlugin#waitForPostResponse can be used in a test to wait until an operation has invoked the post-response plugins, so that the operation doesn't interfere with subsequent tests.
3 files modified
30 ■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/CompareOperationTestCase.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestModifyDNOperation.java 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/InvocationCounterPlugin.java 23 ●●●●● diff | view | raw | blame | history