mirror of https://github.com/apache/lucene.git
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:
parent
b12059d2b1
commit
f31359f5b4
|
@ -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");
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue