|
[
Permlink
| « Hide
]
Michael Bouschen added a comment - 20/Oct/06 05:41 PM
The log file showing the derby exception.
I've attached a new file RefreshAllSideEffects.java that replaces both RefreshAllWithArraySideEffects.java and RefreshAllWithCollectionSideEffects.java. The new test invokes refreshAll() with both a Collection and Object[] parameter sequentially depending on the value of a flag:
if (useCollection) pm1.refreshAll(points1); else pm1.refreshAll(points1.toArray()); Michael, it would be great if you could test this on a multicore machine. To test, you will need to modify conf/pm.conf or create a simple test conf file referencing the new file name. Please review. It's a bit ugly. Looks good to me. It's not a multithreaded test any more so I don't know about the value of running on a multicore machine...
Hi Michelle,
I ran the new test case several times on a multicore machine w/o any failures. So I think the trest case is ready to be checked in. Regards Michael Thanks, Michael. I checked in the new class and an updated pm.conf that invokes the new test, but not the two that it replaces (revision 467118). The tests all pass.
I did not yet remove the two replaced tests from the repository. Is there any reason not to "svn delete" them? Replaced test files were deleted with revision: 494153
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||