change test to make sure everything is cleared first

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@613056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2008-01-18 05:11:50 +00:00
parent 7c4867c70d
commit 107eebe1a3
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ public abstract class LargeVolumeTestBase extends SolrExampleTestBase
public void testMultiThreaded() throws Exception {
gserver = this.getSolrServer();
gserver.deleteByQuery( "*:*" ); // delete everything!
DocThread[] threads = new DocThread[threadCount];
for (int i=0; i<threadCount; i++) {
threads[i] = new DocThread( "T"+i+":" );