mirror of
https://github.com/apache/lucene.git
synced 2025-03-03 23:09:36 +00:00
try to stop nightly build failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@804995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
71286043e4
commit
1b609c3af1
@ -219,13 +219,13 @@ abstract public class SolrExampleTests extends SolrExampleTestBase
|
||||
doc3.addField( "price", 10 );
|
||||
UpdateRequest up = new UpdateRequest();
|
||||
up.add( doc3 );
|
||||
up.setCommitWithin( 100 );
|
||||
up.setCommitWithin( 500 ); // a smaller commitWithin caused failures on the following assert
|
||||
up.process( server );
|
||||
|
||||
rsp = server.query( new SolrQuery( "*:*") );
|
||||
Assert.assertEquals( 0, rsp.getResults().getNumFound() );
|
||||
|
||||
Thread.sleep( 500 ); // wait 1/2 seconds...
|
||||
Thread.sleep( 1000 ); // wait 1 sec
|
||||
|
||||
// now check that it comes out...
|
||||
rsp = server.query( new SolrQuery( "id:id3") );
|
||||
|
Loading…
x
Reference in New Issue
Block a user