summaryrefslogtreecommitdiff
path: root/core/src/test/java/org/elasticsearch/mget
diff options
context:
space:
mode:
authorRyan Ernst <ryan@iernst.net>2015-08-03 17:43:00 -0700
committerRyan Ernst <ryan@iernst.net>2015-08-03 17:43:00 -0700
commit1e12d03252590bb44ae0cc3771c82c63730de212 (patch)
treea699635b3946b5541aeeaf9b0c0adcbeeeb62077 /core/src/test/java/org/elasticsearch/mget
parent3c5b43a5bd426e4e1b041de31a0f7051081b3921 (diff)
Tests: Rename base tests cases to use "TestCase" suffix
Most of the abstract base test classes we have were previously @Ignored. However, there were also some other tests ignored. Having two ways to quiet tests is confusing, and clearly it has caused some tests to get lost in the fold. This change moves all base test classes to use the "TestCase" suffix, which is not picked up by the test class name pattern. It also removes @Ignore from (almost) all tests, and adds it to forbidden apis. And since we were renaming, I shorted base test class names to use "ES" instead of "Elasticsearch". I type this a lot of types a day, and I have heard others express a similar desire for a shorter name. closes #10659
Diffstat (limited to 'core/src/test/java/org/elasticsearch/mget')
-rw-r--r--core/src/test/java/org/elasticsearch/mget/SimpleMgetIT.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/java/org/elasticsearch/mget/SimpleMgetIT.java b/core/src/test/java/org/elasticsearch/mget/SimpleMgetIT.java
index cf67024ad9..7716bf7300 100644
--- a/core/src/test/java/org/elasticsearch/mget/SimpleMgetIT.java
+++ b/core/src/test/java/org/elasticsearch/mget/SimpleMgetIT.java
@@ -28,7 +28,7 @@ import org.elasticsearch.cluster.metadata.IndexMetaData;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.search.fetch.source.FetchSourceContext;
-import org.elasticsearch.test.ElasticsearchIntegrationTest;
+import org.elasticsearch.test.ESIntegTestCase;
import org.junit.Test;
import java.io.IOException;
@@ -38,7 +38,7 @@ import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
import static org.hamcrest.Matchers.*;
-public class SimpleMgetIT extends ElasticsearchIntegrationTest {
+public class SimpleMgetIT extends ESIntegTestCase {
@Test
public void testThatMgetShouldWorkWithOneIndexMissing() throws IOException {