SOLR-5417: make forbidden API's happy

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-11-25 01:27:56 +00:00
parent 56a116aae8
commit 2cd275ce25
1 changed files with 1 additions and 3 deletions

View File

@ -23,8 +23,6 @@ import java.util.Map;
import java.util.Random;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.TestCase;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.embedded.JettySolrRunner;
@ -523,7 +521,7 @@ public class ChaosMonkey {
}
float runtime = (System.currentTimeMillis() - startTime)/1000.0f;
if (runtime > 20 && stops.get() == 0) {
TestCase.fail("The Monkey ran for over 20 seconds and no jetties were stopped - this is worth investigating!");
LuceneTestCase.fail("The Monkey ran for over 20 seconds and no jetties were stopped - this is worth investigating!");
}
}