[ https://issues.apache.org/jira/browse/LUCENE-5622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dawid Weiss reopened LUCENE-5622: --------------------------------- http://builds.flonkings.com/job/Lucene-4x-Linux-Java7-64-test-only/21354/consoleText It failed in a test, yet still complained about sysout enforcement; shouldn't be the case (if a suite fails, no checking should be done). {code} [junit4] 2> NOTE: test params are: codec=Lucene46: {field=PostingsFormat(name=Memory doPackFST= false)}, docValues:{}, sim=RandomSimilarityProvider(queryNorm=false,coord=yes): {field=DFR GL3(800.0)}, locale=sr_RS, timezone=America/Monterrey [junit4] 2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 1.7.0_25 (64-bit)/cpus=8,threads=1,free=246490792,total=260243456 [junit4] 2> NOTE: All tests run in this JVM: [TestTermVectorsReader, TestSegmentTermEnum, TestConstantScoreQuery, TestNRTThreads, TestSentinelIntSet, TestIsCurrent, TestMockDirectoryWrapper, TestLiveFieldValues, TestLucene41StoredFieldsFormat, TestBlockPostingsFormat2, TestNIOFSDirectory, TestIdentityHashSet, TestDoc, TestLucene3xStoredFieldsFormat, TestDocumentsWriterStallControl, TestPerFieldPostingsFormat, TestLucene45DocValuesFormat, TestAutomatonQuery, TestDocTermOrds, TestPayloadTermQuery, Test2BSortedDocValues, TestFlushByRamOrCountsPolicy, TestReusableStringReader, TestOmitPositions, TestIndexWriterThreadsToSegments] [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterThreadsToSegments -Dtests.seed=5373C01FEEF4F0D6 -Dtests.slow=true -Dtests.locale=sr_RS -Dtests.timezone=America/Monterrey -Dtests.file.encoding=UTF-8 [junit4] ERROR 0.00s J2 | TestIndexWriterThreadsToSegments (suite) <<< [junit4] > Throwable #1: java.lang.AssertionError: The test or suite printed 18316 bytes to stdout and stderr, even though the limit was set to 8192 bytes. Increase the limit with @Limit, ignore it completely with @SuppressSysoutChecks or run with -Dtests.verbose=true [junit4] > at __randomizedtesting.SeedInfo.seed([5373C01FEEF4F0D6]:0) [junit4] > at java.lang.Thread.run(Thread.java:724) [junit4] Completed on J2 in 56.03s, 4 tests, 1 failure, 1 error <<< FAILURES! {code} > Fail tests if they print over the given limit of bytes to System.out or > System.err > ---------------------------------------------------------------------------------- > > Key: LUCENE-5622 > URL: https://issues.apache.org/jira/browse/LUCENE-5622 > Project: Lucene - Core > Issue Type: Bug > Reporter: Robert Muir > Assignee: Dawid Weiss > Fix For: 4.9, 5.0 > > Attachments: LUCENE-5622.patch, LUCENE-5622.patch, LUCENE-5622.patch, > LUCENE-5622.patch, LUCENE-5622.patch > > > Some tests print so much stuff they are now undebuggable (see LUCENE-5612). > From now on, when tests.verbose is false, the number of bytes printed to > standard output and error streams will be accounted for and if it exceeds a > given limit an assertion will be thrown. The limit is adjustable per-suite > using Limit annotation, with the default of 8kb per suite. The check can be > suppressed entirely by specifying SuppressSysoutChecks. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org