You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ja...@apache.org on 2016/06/02 17:34:30 UTC

incubator-geode git commit: GEODE-1377: Changed property for spark tests to use new DistributedSystemConfigProperties

Repository: incubator-geode
Updated Branches:
  refs/heads/develop 670fae4b3 -> 653eaf28c


GEODE-1377: Changed property for spark tests to use new DistributedSystemConfigProperties


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/653eaf28
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/653eaf28
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/653eaf28

Branch: refs/heads/develop
Commit: 653eaf28cf032545936ac9462fe8361ebfe88de1
Parents: 670fae4
Author: Jason Huynh <hu...@gmail.com>
Authored: Thu Jun 2 10:02:24 2016 -0700
Committer: Jason Huynh <hu...@gmail.com>
Committed: Thu Jun 2 10:34:17 2016 -0700

----------------------------------------------------------------------
 .../io/pivotal/geode/spark/connector/JavaApiIntegrationTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/653eaf28/geode-spark-connector/geode-spark-connector/src/it/java/ittest/io/pivotal/geode/spark/connector/JavaApiIntegrationTest.java
----------------------------------------------------------------------
diff --git a/geode-spark-connector/geode-spark-connector/src/it/java/ittest/io/pivotal/geode/spark/connector/JavaApiIntegrationTest.java b/geode-spark-connector/geode-spark-connector/src/it/java/ittest/io/pivotal/geode/spark/connector/JavaApiIntegrationTest.java
index 1c6a5a2..1bae89b 100644
--- a/geode-spark-connector/geode-spark-connector/src/it/java/ittest/io/pivotal/geode/spark/connector/JavaApiIntegrationTest.java
+++ b/geode-spark-connector/geode-spark-connector/src/it/java/ittest/io/pivotal/geode/spark/connector/JavaApiIntegrationTest.java
@@ -17,6 +17,7 @@
 package ittest.io.pivotal.geode.spark.connector;
 
 import com.gemstone.gemfire.cache.Region;
+import com.gemstone.gemfire.distributed.DistributedSystemConfigProperties;
 import io.pivotal.geode.spark.connector.GeodeConnection;
 import io.pivotal.geode.spark.connector.GeodeConnectionConf;
 import io.pivotal.geode.spark.connector.GeodeConnectionConf$;
@@ -38,7 +39,6 @@ import io.pivotal.geode.spark.connector.package$;
 import scala.Tuple2;
 import scala.Option;
 import scala.Some;
-
 import java.util.*;
 
 import static io.pivotal.geode.spark.connector.javaapi.GeodeJavaUtil.RDDSaveBatchSizePropKey;
@@ -58,7 +58,7 @@ public class JavaApiIntegrationTest extends JUnitSuite {
   public static void setUpBeforeClass() throws Exception {
     // start geode cluster, and spark context
     Properties settings = new Properties();
-    settings.setProperty(CACHE_XML_FILE, "src/it/resources/test-retrieve-regions.xml");
+    settings.setProperty(DistributedSystemConfigProperties.CACHE_XML_FILE, "src/it/resources/test-retrieve-regions.xml");
     settings.setProperty("num-of-servers", Integer.toString(numServers));
     int locatorPort = GeodeCluster$.MODULE$.start(settings);