change commitWithin for test to 2000 rather than 1000 - saw a fail where the commit happened faster than the 10 docs are added.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-12-12 20:53:26 +00:00
parent b12059d2b1
commit f31359f5b4
2 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ public class JettySolrRunner {
}
}
this.wait(300); // always 100ms - can take a moment for our cores to come up
this.wait(300); // always 300ms - can take a moment for our cores to come up
}
System.clearProperty("shard");

View File

@ -331,7 +331,7 @@ public class AutoCommitTest extends AbstractSolrTestCase {
// now make the call 10 times really fast and make sure it
// only commits once
req.setContentStreams( toContentStreams(
adoc(1000, "id", "500" ), null ) );
adoc(2000, "id", "500" ), null ) );
for( int i=0;i<10; i++ ) {
handler.handleRequest( req, rsp );
}