This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch feature/GEODE-5363
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 8bebc44250cf456e759369741d30a72792532713
Author: Jacob Barrett <jbarr...@pivotal.io>
AuthorDate: Tue Jul 3 13:58:25 2018 -0700

    GEODE-5363: Don't use UnitTest category to run unit tests.
---
 geode-junit/build.gradle | 5 +++++
 gradle/test.gradle       | 4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/geode-junit/build.gradle b/geode-junit/build.gradle
index 65517e9..560cb42 100755
--- a/geode-junit/build.gradle
+++ b/geode-junit/build.gradle
@@ -53,3 +53,8 @@ sourceSets {
     resources.srcDir file('src/integrationTest/resources')
   }
 }
+
+test {
+  // Some tests have inner tests that should be ignored
+  exclude "**/*\$*.class"
+}
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 18ce11b..4f267dc 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -102,10 +102,6 @@ subprojects {
   }
 
   test {
-    useJUnit {
-      includeCategories 'org.apache.geode.test.junit.categories.UnitTest'
-    }
-
     doFirst {
       TestPropertiesWriter.writeTestProperties(buildDir, name)
     }

Reply via email to