lucene/solr/test-framework
Ramkumar Aiyengar b4aafbb606 SOLR-7859: Clamp down on use of System.currentTimeMillis
- Use RTimer where currentTimeMillis is used for timing
 - Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
   is used to timeout operations.
 - Used `new Date()` in some cases where that is the logical intent.
 - Deprecated a couple of APIs which were publicly exposing epoch time,
   in favour of Date objects to make the intent clearer.
 - A couple of cases had currentTimeMillis in dead code.
 - In some cases where currentTimeMillis was used to just generate a name,
   used nanoTime instead (really it should be some sequence/random number
   in such a case).
 - In some other cases where stamps were used for SQL queries, HTTP headers,
   comparing against data in external files, ZK etc., used SuppressForbidden.
 - Also currently allow the use of currentTimeMillis in commit data,
   this is then used in replication -- this is concerning since absolute
   times are being compared, but that can be dealt with separately.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
..
src/java SOLR-7859: Clamp down on use of System.currentTimeMillis 2015-08-08 13:39:58 +00:00
README.txt Fix typo 2012-10-01 17:44:00 +00:00
build.xml LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks 2015-04-20 16:26:26 +00:00
ivy.xml LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap 2014-10-16 20:13:48 +00:00

README.txt

The Solr test-framework products base classes and utility classes for 
writting JUnit tests excercising Solr functionality.

This test framework relies on the lucene components found in in the 
./lucene-libs/ directory, as well as the third-party libraries found 
in the ./lib directory.