From d7dab0df7294a44c0539b1a3de8e6949532fa4f1 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 6 Jul 2015 11:20:30 -0400 Subject: [PATCH] fix test to allow integration tests --- .../test/java/org/elasticsearch/NamingConventionTests.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/NamingConventionTests.java b/core/src/test/java/org/elasticsearch/NamingConventionTests.java index db39c66f30b..11a87671433 100644 --- a/core/src/test/java/org/elasticsearch/NamingConventionTests.java +++ b/core/src/test/java/org/elasticsearch/NamingConventionTests.java @@ -75,7 +75,10 @@ public class NamingConventionTests extends ElasticsearchTestCase { if (filename.endsWith(".class")) { Class clazz = loadClass(filename); if (Modifier.isAbstract(clazz.getModifiers()) == false && Modifier.isInterface(clazz.getModifiers()) == false) { - if ((clazz.getName().endsWith("Tests") || clazz.getName().endsWith("Test"))) { // don't worry about the ones that match the pattern + if (clazz.getName().endsWith("Tests") || + clazz.getName().endsWith("IT") || + clazz.getName().endsWith("Test")) { // don't worry about the ones that match the pattern + if (isTestCase(clazz) == false) { notImplementing.add(clazz); }