geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbarr...@apache.org
Subject [geode] 22/46: GEODE-5363: Moves geode-rebalancer tests into new source sets.
Date Wed, 11 Jul 2018 16:13:29 GMT
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 c3a8ec6d2214c7a195a1b89b354f47a11c0720c8
Author: Jacob Barrett <jbarrett@pivotal.io>
AuthorDate: Tue Jul 3 07:18:05 2018 -0700

    GEODE-5363: Moves geode-rebalancer tests into new source sets.
---
 geode-rebalancer/build.gradle                       | 21 +++++++++++++++++++++
 .../util/AutoBalancerIntegrationJUnitTest.java      |  0
 .../geode/cache/util/AutoBalancerJUnitTest.java     |  0
 3 files changed, 21 insertions(+)

diff --git a/geode-rebalancer/build.gradle b/geode-rebalancer/build.gradle
index e61f06d..a99ac89 100644
--- a/geode-rebalancer/build.gradle
+++ b/geode-rebalancer/build.gradle
@@ -28,3 +28,24 @@ dependencies {
   }
   testCompile project(':geode-junit')
 }
+
+configurations {
+  integrationTestCompile.extendsFrom testCompile
+  integrationTestRuntime.extendsFrom testRuntime
+}
+
+sourceSets {
+  integrationTest {
+    java {
+      compileClasspath += main.output + test.output
+      runtimeClasspath += main.output + test.output
+      srcDir file('src/integrationTest/java')
+    }
+    resources.srcDir file('src/integrationTest/resources')
+  }
+}
+
+dependencies {
+  // TODO build - move dunit framework to shared module.
+  integrationTestCompile files(project(':geode-core').sourceSets.integrationTest.output)
+}
diff --git a/geode-rebalancer/src/test/java/org/apache/geode/cache/util/AutoBalancerIntegrationJUnitTest.java
b/geode-rebalancer/src/integrationTest/java/org/apache/geode/cache/util/AutoBalancerIntegrationJUnitTest.java
similarity index 100%
rename from geode-rebalancer/src/test/java/org/apache/geode/cache/util/AutoBalancerIntegrationJUnitTest.java
rename to geode-rebalancer/src/integrationTest/java/org/apache/geode/cache/util/AutoBalancerIntegrationJUnitTest.java
diff --git a/geode-rebalancer/src/test/java/org/apache/geode/cache/util/AutoBalancerJUnitTest.java
b/geode-rebalancer/src/integrationTest/java/org/apache/geode/cache/util/AutoBalancerJUnitTest.java
similarity index 100%
rename from geode-rebalancer/src/test/java/org/apache/geode/cache/util/AutoBalancerJUnitTest.java
rename to geode-rebalancer/src/integrationTest/java/org/apache/geode/cache/util/AutoBalancerJUnitTest.java


Mime
View raw message