You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/04/06 19:31:22 UTC

incubator-tinkerpop git commit: Open up more connections for the driver to use in the performance tests.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master b7ed67a9a -> 5958a79ec


Open up more connections for the driver to use in the performance tests.

Traversal performance tests were failing intermittently prior to this change.  Probably related to the TINKERPOP3-515 fix. Needed more available connections or a bigger timeout.


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

Branch: refs/heads/master
Commit: 5958a79ecc5d53d3ab3b8016a0a01e509d076967
Parents: b7ed67a
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Apr 6 13:27:39 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Apr 6 13:27:39 2015 -0400

----------------------------------------------------------------------
 .../tinkerpop/gremlin/server/GremlinTraversalPerformanceTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/5958a79e/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinTraversalPerformanceTest.java
----------------------------------------------------------------------
diff --git a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinTraversalPerformanceTest.java b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinTraversalPerformanceTest.java
index 7c88f4f..7b712aa 100644
--- a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinTraversalPerformanceTest.java
+++ b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinTraversalPerformanceTest.java
@@ -56,7 +56,7 @@ public class GremlinTraversalPerformanceTest extends AbstractGremlinServerPerfor
     public final static int DEFAULT_CONCURRENT_BENCHMARK_ROUNDS = 500;
     public final static int DEFAULT_CONCURRENT_WARMUP_ROUNDS = 10;
 
-    private final static Cluster cluster = Cluster.build("localhost").maxWaitForConnection(30000).create();
+    private final static Cluster cluster = Cluster.build("localhost").maxConnectionPoolSize(32).maxWaitForConnection(30000).create();
     private final static AtomicReference<Client> client = new AtomicReference<>();
 
     @Rule