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

@ -52,6 +52,10 @@ public abstract class LargeVolumeTestBase extends SolrExampleTestBase
threads[i].join(); 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); query(threadCount * numdocs);
System.out.println("done"); System.out.println("done");
} }