lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Update of "TestIdeas" by MikeMcCandless
Date Thu, 12 May 2011 15:52:56 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 MikeMcCandless.
http://wiki.apache.org/lucene-java/TestIdeas?action=diff&rev1=19&rev2=20

--------------------------------------------------

   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
threads.
   1. REALTIME_BRANCH - Add Random DWPTThreadPool that randomly assigns ThreadStates to increase
test coverage in DW if tests are single threaded.
   1. MockDirectoryWrapper.close should also fail if there are still open files for writing
(now it only fails if there are open files for reading)
+  1. Randomize FlushPolicy in RandomIndexWriter
  

Mime
View raw message