You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2015/05/12 04:30:25 UTC

[4/5] incubator-tinkerpop git commit: GroovyFoldTest failed in OLAP Spark/Giraph. Fixed.

GroovyFoldTest failed in OLAP Spark/Giraph. Fixed.


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

Branch: refs/heads/TINKERPOP3-666
Commit: d72e4fb719d6d3c11afc343aef8eb331e6f0c539
Parents: b3c9a20
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Mon May 11 18:39:37 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Mon May 11 18:39:37 2015 -0600

----------------------------------------------------------------------
 .../gremlin/process/traversal/step/map/GroovyFoldTest.groovy       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/d72e4fb7/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/map/GroovyFoldTest.groovy
----------------------------------------------------------------------
diff --git a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/map/GroovyFoldTest.groovy b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/map/GroovyFoldTest.groovy
index db7bcfc..c5d7a0d 100644
--- a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/map/GroovyFoldTest.groovy
+++ b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/map/GroovyFoldTest.groovy
@@ -40,7 +40,7 @@ public abstract class GroovyFoldTest {
 
         @Override
         public Traversal<Vertex, Integer> get_g_V_age_foldX0_plusX() {
-            TraversalScriptHelper.compute("g.V.age.fold(0) { seed, age -> seed + age }", g)
+            TraversalScriptHelper.compute("g.V.age.fold(0,sum)", g)
         }
     }
 }