mirror of https://github.com/apache/lucene.git
LUCENE-4879: Filter stack traces on console output.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4cfe0c5a10
commit
914b26c36b
|
@ -169,6 +169,12 @@ Documentation
|
|||
to use the new SortedSetDocValues backed facet implementation.
|
||||
(Shai Erera, Mike McCandless)
|
||||
|
||||
Build
|
||||
|
||||
* LUCENE-4879: Upgrade randomized testing to version 2.0.9:
|
||||
Filter stack traces on console output. (Dawid Weiss, Robert Muir)
|
||||
|
||||
|
||||
======================= Lucene 4.2.1 =======================
|
||||
|
||||
Bug Fixes
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
<property name="tests.asserts.gracious" value="false"/>
|
||||
<property name="tests.verbose" value="false"/>
|
||||
<property name="tests.infostream" value="${tests.verbose}"/>
|
||||
<property name="tests.filterstacks" value="true"/>
|
||||
|
||||
<condition property="tests.heapsize" value="768M">
|
||||
<isset property="run.clover"/>
|
||||
|
@ -985,8 +986,25 @@
|
|||
maxClassNameColumns="${tests.maxClassNameColumns}"
|
||||
|
||||
timestamps="${tests.timestamps}"
|
||||
showNumFailures="${tests.showNumFailures}"
|
||||
/>
|
||||
showNumFailures="${tests.showNumFailures}">
|
||||
|
||||
<!-- Filter stack traces. The default set of filters is similar to Ant's (reflection, assertions, junit's own stuff). -->
|
||||
<junit4:filtertrace defaults="true" enabled="${tests.filterstacks}">
|
||||
<!-- Lucene-specific stack frames (test rules mostly). -->
|
||||
<containsstring contains="at com.carrotsearch.randomizedtesting.RandomizedRunner" />
|
||||
<containsstring contains="at org.apache.lucene.util.AbstractBeforeAfterRule" />
|
||||
<containsstring contains="at com.carrotsearch.randomizedtesting.rules." />
|
||||
<containsstring contains="at org.apache.lucene.util.TestRule" />
|
||||
<containsstring contains="at com.carrotsearch.randomizedtesting.rules.StatementAdapter" />
|
||||
<containsstring contains="at com.carrotsearch.randomizedtesting.ThreadLeakControl" />
|
||||
|
||||
<!-- Add custom filters if you like. Lines that match these will be removed. -->
|
||||
<!--
|
||||
<containsstring contains=".." />
|
||||
<containsregex pattern="^(\s+at )(org\.junit\.)" />
|
||||
-->
|
||||
</junit4:filtertrace>
|
||||
</junit4:report-text>
|
||||
|
||||
<!-- Emits full status for all tests, their relative order on slaves. -->
|
||||
<junit4:report-text
|
||||
|
@ -1183,6 +1201,9 @@ ant -Dtests.file.encoding=XXX ...
|
|||
# the test passes.
|
||||
ant -Dtests.leaveTemporary=true
|
||||
|
||||
# Do *not* filter stack traces emitted to the console.
|
||||
ant -Dtests.filterstacks=false
|
||||
|
||||
# Output test files and reports.
|
||||
${tests-output}/tests-report.txt - full ASCII tests report
|
||||
${tests-output}/tests-failures.txt - failures only (if any)
|
||||
|
|
|
@ -593,7 +593,7 @@ public class TestFSTs extends LuceneTestCase {
|
|||
// TODO: can FST be used to index all internal substrings,
|
||||
// mapping to term?
|
||||
|
||||
// java -cp ../build/codecs/classes/java:../test-framework/lib/randomizedtesting-runner-2.0.8.jar:../build/core/classes/test:../build/core/classes/test-framework:../build/core/classes/java:../build/test-framework/classes/java:../test-framework/lib/junit-4.10.jar org.apache.lucene.util.fst.TestFSTs /xold/tmp/allTerms3.txt out
|
||||
// java -cp ../build/codecs/classes/java:../test-framework/lib/randomizedtesting-runner-2.0.9.jar:../build/core/classes/test:../build/core/classes/test-framework:../build/core/classes/java:../build/test-framework/classes/java:../test-framework/lib/junit-4.10.jar org.apache.lucene.util.fst.TestFSTs /xold/tmp/allTerms3.txt out
|
||||
public static void main(String[] args) throws IOException {
|
||||
int prune = 0;
|
||||
int limit = Integer.MAX_VALUE;
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
60a3de36a65afc240162cf9fa0cab5a0209f5467
|
|
@ -0,0 +1 @@
|
|||
bba707f4b0933f782dd456c262dc36f4bac01f45
|
|
@ -1 +0,0 @@
|
|||
5279738eb9e4e820aacbe8f7cb1120159592496b
|
|
@ -0,0 +1 @@
|
|||
4b8e918d278f56a18a6044660215290995889bfa
|
|
@ -32,8 +32,8 @@
|
|||
<dependency org="org.apache.ant" name="ant" rev="1.8.2" transitive="false" />
|
||||
|
||||
<dependency org="junit" name="junit" rev="4.10" transitive="false" conf="default->*;junit4-stdalone->*" />
|
||||
<dependency org="com.carrotsearch.randomizedtesting" name="junit4-ant" rev="2.0.8" transitive="false" conf="default->*;junit4-stdalone->*" />
|
||||
<dependency org="com.carrotsearch.randomizedtesting" name="randomizedtesting-runner" rev="2.0.8" transitive="false" conf="default->*;junit4-stdalone->*" />
|
||||
<dependency org="com.carrotsearch.randomizedtesting" name="junit4-ant" rev="2.0.9" transitive="false" conf="default->*;junit4-stdalone->*" />
|
||||
<dependency org="com.carrotsearch.randomizedtesting" name="randomizedtesting-runner" rev="2.0.9" transitive="false" conf="default->*;junit4-stdalone->*" />
|
||||
|
||||
<exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/>
|
||||
</dependencies>
|
||||
|
|
Loading…
Reference in New Issue