lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Lucene-java Wiki] Update of "TestIdeas" by simonwillnauer
Date Wed, 13 Apr 2011 07:57:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "TestIdeas" page has been changed by simonwillnauer.


   1. ant test should try to create temp directories on different disks if multiple are available
to find races if disk IO is really slow / really fast. Some testing machines have multiple
disks from SSDs to old spinning ones.
   1. RANDOM_MULTIPLIER should be a float not an int, and it should vary "around" the value
(eg up to 20% bigger); we'd have to fix many places that use it to cast to int
   1. Add @Weekly, and turn it on for Test2BTerms
+  1. Add getNumThreads() to LuceneTestCase that takes Runtime.getRuntime().availableProcessors()
into account. Multi-threaded tests should use more threads than available processors to increase
the chance to detect timing -sensitive data races so that at any given time some threads are
running and some are switched out, thus reducing the predictability of interactions between
+ 1. REALTIME_BRANCH - Add Random DWPTThreadPool that randomly assigns ThreadStates to increase
test coverage in DW if tests are single threaded.

View raw message