tests - fix LargeVolumeJettyTest failure

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@823843 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-10-10 11:44:45 +00:00
parent 53e701cd0f
commit 83fa285c40
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ public abstract class LargeVolumeTestBase extends SolrExampleTestBase
for (int i=0; i<threadCount; i++) {
threads[i].join();
}
// some of the commits could have failed because maxWarmingSearchers exceeded,
// so do a final commit to make sure everything is visible.
gserver.commit();
query(threadCount * numdocs);
System.out.println("done");