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

coulbeck
09.13.2006 ab9a7aa62819126e685e05281d5fa0d8ff94045c
refs
author coulbeck <coulbeck@localhost>
Monday, October 9, 2006 23:13 +0200
committer coulbeck <coulbeck@localhost>
Monday, October 9, 2006 23:13 +0200
commitab9a7aa62819126e685e05281d5fa0d8ff94045c
tree 2513884d65bc953706c6a0ff945f6875ffa51fd4 tree | zip | gz
parent 22f927cddca743afc523d6c7f91760cb0abe5a3c 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
opends/tests/unit-tests-testng/src/server/org/opends/server/core/CompareOperationTestCase.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestModifyDNOperation.java 5 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/InvocationCounterPlugin.java 23 ●●●●● diff | view | raw | blame | history