You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2015/08/14 22:40:29 UTC

[40/50] [abbrv] incubator-geode git commit: GEODE-193: Enable subset of CopyOnReadIndexJUnitTests

GEODE-193: Enable subset of CopyOnReadIndexJUnitTests


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

Branch: refs/heads/feature/GEODE-77
Commit: 96fd856db31f491c2d1977fbcf01b72b1ded25c0
Parents: bd84581
Author: Jason Huynh <hu...@gmail.com>
Authored: Tue Aug 11 10:17:04 2015 -0700
Committer: Jason Huynh <hu...@gmail.com>
Committed: Tue Aug 11 10:17:04 2015 -0700

----------------------------------------------------------------------
 .../cache/query/internal/index/CopyOnReadIndexJUnitTest.java    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/96fd856d/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/internal/index/CopyOnReadIndexJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/internal/index/CopyOnReadIndexJUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/internal/index/CopyOnReadIndexJUnitTest.java
index dd5f980..e7fe997 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/internal/index/CopyOnReadIndexJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/internal/index/CopyOnReadIndexJUnitTest.java
@@ -35,7 +35,7 @@ import com.gemstone.gemfire.test.junit.categories.IntegrationTest;
 public class CopyOnReadIndexJUnitTest {
   
   static int numObjects = 10;
-  static int objectsAndResultsMultiplier = 100;
+  static int objectsAndResultsMultiplier = 10;
   QueryTestUtils utils;
   static String regionName = "portfolios";
   static final String indexName = "testIndex";
@@ -182,7 +182,6 @@ public class CopyOnReadIndexJUnitTest {
   }
   
   //Test copy on read false
- /*
   @Test
   public void testCopyOnReadFalseWithHashIndexWithLocalRegion() throws Exception {
     utils.getCache().setCopyOnRead(false);
@@ -278,7 +277,7 @@ public class CopyOnReadIndexJUnitTest {
     utils.createIndex(indexName, "pv.secId", "/" + regionName + " p, p.positions.values pv");
     helpExecuteQueriesCopyOnReadFalse(queries, expectedResults, numObjects, objectsAndResultsMultiplier, true, true);
   }
- */ 
+
  /**
   * 
   * @param queries