Jan Høydahl created SOLR-8150:
---------------------------------

             Summary: Fix build failure due to too much printout from 
QueryResponseTest
                 Key: SOLR-8150
                 URL: https://issues.apache.org/jira/browse/SOLR-8150
             Project: Solr
          Issue Type: Bug
          Components: Tests
    Affects Versions: Trunk
            Reporter: Jan Høydahl
            Assignee: Jan Høydahl
             Fix For: Trunk


Jenkins failure:
{noformat}
9. okt. 2015 kl. 08.19 skrev Apache Jenkins Server <[email protected]>:

Build: https://builds.apache.org/job/Lucene-Solr-Tests-trunk-Java8/463/

1 tests failed.
FAILED:  
junit.framework.TestSuite.org.apache.solr.client.solrj.response.QueryResponseTest

Error Message:
The test or suite printed 8730 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

Stack Trace:
java.lang.AssertionError: The test or suite printed 8730 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
        at __randomizedtesting.SeedInfo.seed([96A3A8B2A4180026]:0)
        at 
org.apache.lucene.util.TestRuleLimitSysouts.afterIfSuccessful(TestRuleLimitSysouts.java:212)
        at 
com.carrotsearch.randomizedtesting.rules.TestRuleAdapter$1.afterIfSuccessful(TestRuleAdapter.java:36)
        at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:37)
        at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54)
        at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
        at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
        at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
        at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
        at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

Fix by adding
{code}
@Limit(bytes=150000)
{code}
QueryResponseTest




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to