You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/09/29 19:49:34 UTC
[07/14] incubator-tinkerpop git commit: GryoPool now completely uses
a GryoPool.Builder. Building a GryoPool is alot more elegant and consistent
now. Updated GryoPoolTest accordingly.
GryoPool now completely uses a GryoPool.Builder. Building a GryoPool is alot more elegant and consistent now. Updated GryoPoolTest accordingly.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/acdebc43
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/acdebc43
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/acdebc43
Branch: refs/heads/master
Commit: acdebc43ae07b3f6c808b34e6aa04c032ad58cbd
Parents: 802cf6a
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Mon Sep 28 16:24:39 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Mon Sep 28 16:24:39 2015 -0600
----------------------------------------------------------------------
.../apache/tinkerpop/gremlin/structure/io/gryo/GryoPoolTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/acdebc43/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoPoolTest.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoPoolTest.java b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoPoolTest.java
index a3ac294..9db1ba4 100644
--- a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoPoolTest.java
+++ b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoPoolTest.java
@@ -62,8 +62,7 @@ public class GryoPoolTest {
@Test
public void shouldConfigPoolOnConstructionWithPoolSizeOneAndNoIoRegistry() throws Exception {
final Configuration conf = new BaseConfiguration();
- conf.setProperty(GryoPool.CONFIG_IO_GRYO_POOL_SIZE, 1);
- final GryoPool pool = GryoPool.build().ioRegistries(conf.getList(GryoPool.CONFIG_IO_REGISTRY, Collections.emptyList())).create();
+ final GryoPool pool = GryoPool.build().poolSize(1).ioRegistries(conf.getList(GryoPool.CONFIG_IO_REGISTRY, Collections.emptyList())).create();
final GryoReader reader = pool.takeReader();
final GryoWriter writer = pool.takeWriter();