Repository: tinkerpop
Updated Branches:
  refs/heads/tp32 ed9ca8151 -> 2c9bc465e


Added a configuration option to Neo4j tests

This fixed a problem on master EventStrategy tests going OOME. Never saw that 
problem on tp32, but it seemed to have no hurting effect on that branch and 
thus opted to add it here as well. CTR


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/2c9bc465
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/2c9bc465
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/2c9bc465

Branch: refs/heads/tp32
Commit: 2c9bc465e4a68c1d1b23d936eaf940dbd9a204c6
Parents: ed9ca81
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue Nov 21 15:44:11 2017 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue Nov 21 15:44:11 2017 -0500

----------------------------------------------------------------------
 .../apache/tinkerpop/gremlin/neo4j/MultiMetaNeo4jGraphProvider.java | 1 +
 .../tinkerpop/gremlin/neo4j/NoMultiNoMetaNeo4jGraphProvider.java    | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2c9bc465/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/MultiMetaNeo4jGraphProvider.java
----------------------------------------------------------------------
diff --git 
a/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/MultiMetaNeo4jGraphProvider.java
 
b/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/MultiMetaNeo4jGraphProvider.java
index 8bd89d2..c3ba918 100644
--- 
a/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/MultiMetaNeo4jGraphProvider.java
+++ 
b/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/MultiMetaNeo4jGraphProvider.java
@@ -38,6 +38,7 @@ public class MultiMetaNeo4jGraphProvider extends 
AbstractNeo4jGraphProvider {
             put(Neo4jGraph.CONFIG_DIRECTORY, directory);
             put(Neo4jGraph.CONFIG_META_PROPERTIES, true);
             put(Neo4jGraph.CONFIG_MULTI_PROPERTIES, true);
+            put(Neo4jGraph.CONFIG_CONF + ".dbms.memory.pagecache.size", 
"1024m");
         }};
     }
 }

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2c9bc465/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/NoMultiNoMetaNeo4jGraphProvider.java
----------------------------------------------------------------------
diff --git 
a/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/NoMultiNoMetaNeo4jGraphProvider.java
 
b/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/NoMultiNoMetaNeo4jGraphProvider.java
index 22ae0ce..cc72c64 100644
--- 
a/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/NoMultiNoMetaNeo4jGraphProvider.java
+++ 
b/neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/NoMultiNoMetaNeo4jGraphProvider.java
@@ -38,6 +38,7 @@ public class NoMultiNoMetaNeo4jGraphProvider extends 
AbstractNeo4jGraphProvider
             put(Neo4jGraph.CONFIG_DIRECTORY, directory);
             put(Neo4jGraph.CONFIG_META_PROPERTIES, false);
             put(Neo4jGraph.CONFIG_MULTI_PROPERTIES, false);
+            put(Neo4jGraph.CONFIG_CONF + ".dbms.memory.pagecache.size", 
"1024m");
         }};
     }
 }

Reply via email to