Apache Lucene open-source search software
tests: harden
Mark Robert Millerc4eb440bf83a
diff --git a/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java b/solr/core/src/test/org/apache/solr/update/AutoCommitTest.javaindex 26a047d2b92..fbf35ec5d5f 100644--- a/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java+++ b/solr/core/src/test/org/apache/solr/update/AutoCommitTest.java@@ -286,11 +286,11 @@ public class AutoCommitTest extends AbstractSolrTestCase {MapSolrParams params = new MapSolrParams( new HashMap<String, String>() );- // Add a single document with commitWithin == 2 second+ // Add a single document with commitWithin == 4 secondSolrQueryResponse rsp = new SolrQueryResponse();SolrQueryRequestBase req = new SolrQueryRequestBase( core, params ) {};req.setContentStreams( toContentStreams(- adoc(2000, "id", "529", "field_t", "what's inside?", "subject", "info"), null ) );+ adoc(4000, "id", "529", "field_t", "what's inside?", "subject", "info"), null ) );trigger.reset();handler.handleRequest( req, rsp );