diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index c25af037f72..84e8be930c1 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -237,14 +237,18 @@ Bug Fixes would be exceeded, instead of silently creating an unusable index. (Mike McCandless) -* LUCENE-5869: Added restriction to positive values for maxExpansions in FuzzyQuery. - (Ryan Ernst) +* LUCENE-5869: Added restriction to positive values for maxExpansions in + FuzzyQuery. (Ryan Ernst) Test Framework * LUCENE-5786: Unflushed/ truncated events file (hung testing subprocess). (Dawid Weiss) +* LUCENE-5881: Add "beasting" of tests: repeats the whole "test" Ant target + N times with "ant beast -Dbeast.iters=N". (Uwe Schindler, Robert Muir, + Ryan Ernst, Dawid Weiss) + Build * LUCENE-5770: Upgrade to JFlex 1.6, which has direct support for diff --git a/lucene/common-build.xml b/lucene/common-build.xml index b2e7fc4e188..685729c6804 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -1147,7 +1147,7 @@ - + # # Test case filtering. -------------------------------------------- # @@ -1202,6 +1202,15 @@ ant test -Dtests.iters=N -Dtests.maxfailures=M -Dtestcase=... # in parallel. ant test -Dtests.dups=N ... +# Test beasting: Repeats every suite with same seed per class +# (N times in parallel) and each test inside (M times). The whole +# run is repeated (beasting) P times in a loop, with a different +# master seed. You can combine beasting with any other parameter, +# just replace "test" with "beast" and give -Dbeast.iters=P +# (P >> 1). +ant test -Dtests.dups=N -Dtests.iters=M -Dbeast.iters=P \ + -Dtestcase=ClassName beast + # # Test groups. ---------------------------------------------------- # @@ -1289,8 +1298,8 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites - - + + @@ -1298,6 +1307,22 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites + + + + task.log('Beast round: ' + i); + antcall.execute(); + }; + task.log('Beasting finished.'); + ]]> + +