From 2cd275ce2590b4c451dfa238d5f2e350ca572a93 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Mon, 25 Nov 2013 01:27:56 +0000 Subject: [PATCH] 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 --- .../src/java/org/apache/solr/cloud/ChaosMonkey.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java b/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java index a2bce0e903b..c1128f9bdf0 100644 --- a/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java +++ b/solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java @@ -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!"); } }