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 RobertMuir
Date Wed, 30 Mar 2011 20:52:08 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 RobertMuir.


      have special 'viral/antiviral' properties, so just doing random each time actually can
result in worse test coverage,
      the only way to improve this is for LuceneTestCase to "remember".
   1. Randomly change the size of BufferedIndexInput/Output's buffer
+  1. now that xinclude works correctly, perhaps solr can, with sysprop substitution, have
a 'random testing solrconfig'
+     that e.g. sets indexwriter properties to random values (based on lucenetestcase's newIndexWriterConfig).
This would
+     give solr tests random numbers of segments, etc. Test configs could xinclude this thing
to get good testing.
+  1. resolve the issue for solr tests to use a "MockDirectoryWrapperFactory" so they use
different directory implementations
+     (e.g. randomly test with MMap, SimpleFS, NIOFS, ...).

View raw message