From f284027334c159e806f94e881e8648b4c0ce6dd9 Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Fri, 1 Apr 2016 13:25:41 -0400 Subject: [PATCH 1/2] ACCUMULO-4175 Validate the location of test ITs * Verify ITs exist only in src/main/java for test module (change due to ACCUMULO-3871) --- test/pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/test/pom.xml b/test/pom.xml index e78a9c10a07..6da0f0e4849 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -259,6 +259,28 @@ + + + org.codehaus.mojo + exec-maven-plugin + + + check-for-misplaced-ITs + + exec + + validate + + bash + + -c + ! find src/test/java -name '*IT.java' -exec echo '[ERROR] {} should be in src/main/java' \; | grep 'src/test/java' + + + + + + From 7cefd872f9276ebb3a4be4cfcdda8f3112ccd250 Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Fri, 1 Apr 2016 14:55:44 -0400 Subject: [PATCH 2/2] ACCUMULO-4175 Move ITs to correct directory --- .../org/apache/accumulo/test/functional/SessionBlockVerifyIT.java | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/src/{test => main}/java/org/apache/accumulo/test/functional/SessionBlockVerifyIT.java (100%) diff --git a/test/src/test/java/org/apache/accumulo/test/functional/SessionBlockVerifyIT.java b/test/src/main/java/org/apache/accumulo/test/functional/SessionBlockVerifyIT.java similarity index 100% rename from test/src/test/java/org/apache/accumulo/test/functional/SessionBlockVerifyIT.java rename to test/src/main/java/org/apache/accumulo/test/functional/SessionBlockVerifyIT.java