Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-8150: Fix build failure due to too much output from QueryResponseTest

Jan Høydahl99c2515d9965
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 53ffec67f88..6750da2595b 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -322,6 +322,8 @@ Other Changes
* SOLR-8025: remove unnecessary ResponseBuilder.getQueryCommand() calls (Christine Poerschke)
+* SOLR-8150: Fix build failure due to too much output from QueryResponseTest (janhoy)
+
================== 5.3.1 ==================
Bug Fixes
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/response/QueryResponseTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/response/QueryResponseTest.java
index 3a466b9ab7e..17ae49f84d5 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/response/QueryResponseTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/response/QueryResponseTest.java
@@ -20,6 +20,7 @@ package org.apache.solr.client.solrj.response;
import junit.framework.Assert;
import org.apache.lucene.util.LuceneTestCase;
+import org.apache.lucene.util.TestRuleLimitSysouts.Limit;
import org.apache.solr.client.solrj.impl.XMLResponseParser;
import org.apache.solr.common.SolrDocumentList;
import org.apache.solr.common.util.DateUtil;
@@ -38,6 +39,7 @@ import java.util.List;
*
* @since solr 1.3
*/
+@Limit(bytes=20000)
public class QueryResponseTest extends LuceneTestCase {
@Test
public void testDateFacets() throws Exception {