tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [17/50] [abbrv] tinkerpop git commit: Increase max frame size so that tests can succeed under GraphSON 2.0
Date Sat, 27 Aug 2016 00:54:32 GMT
Increase max frame size so that tests can succeed under GraphSON 2.0

Apparently, graphson needs a larger setting for some tests than gryo.


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

Branch: refs/heads/master
Commit: db8842436f7ca4c6980ebad27f2fca3cbf7c2fd5
Parents: d5ff0ad
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Thu Aug 25 08:51:48 2016 -0400
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Thu Aug 25 08:51:48 2016 -0400

----------------------------------------------------------------------
 .../tinkerpop/gremlin/driver/remote/RemoteGraphProvider.java      | 2 +-
 .../org/apache/tinkerpop/gremlin/server/ServerTestHelper.java     | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/db884243/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/driver/remote/RemoteGraphProvider.java
----------------------------------------------------------------------
diff --git a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/driver/remote/RemoteGraphProvider.java
b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/driver/remote/RemoteGraphProvider.java
index a4dff94..8b68c35 100644
--- a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/driver/remote/RemoteGraphProvider.java
+++ b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/driver/remote/RemoteGraphProvider.java
@@ -49,7 +49,7 @@ public class RemoteGraphProvider extends AbstractGraphProvider {
     private static GremlinServer server;
     private final Map<String, RemoteGraph> remoteCache = new HashMap<>();
     private final Cluster cluster = Cluster.open();
-    //private final Cluster cluster = Cluster.build().serializer(Serializers.GRAPHSON_V2D0).create();
+    //private final Cluster cluster = Cluster.build().maxContentLength(1024000).serializer(Serializers.GRAPHSON_V2D0).create();
     private final Client client = cluster.connect();
 
     static {

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/db884243/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/ServerTestHelper.java
----------------------------------------------------------------------
diff --git a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/ServerTestHelper.java
b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/ServerTestHelper.java
index e846673..3a82537 100644
--- a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/ServerTestHelper.java
+++ b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/ServerTestHelper.java
@@ -45,5 +45,8 @@ public class ServerTestHelper {
                     kv.setValue(homeDir + File.separator + kv.getValue());
                     return kv;
                 }).collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
+
+        overridenSettings.maxContentLength = 1024000;
+        overridenSettings.maxChunkSize =1024000;
     }
 }


Mime
View raw message