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 2016/03/17 21:23:39 UTC
[22/50] incubator-tinkerpop git commit: Opt-out of some of the
CoreTraversalsTest that RemoteGraph can't support.
Opt-out of some of the CoreTraversalsTest that RemoteGraph can't support.
The problem is mostly related to serialization requirements that are not supported by RemoteGraph (e.g. lambdas).
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/03dbf20d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/03dbf20d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/03dbf20d
Branch: refs/heads/TINKERPOP-575
Commit: 03dbf20dbec2dfb1a16d870db3257ad364b95a61
Parents: 07134fd
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue Mar 15 12:18:56 2016 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Mar 17 14:05:20 2016 -0400
----------------------------------------------------------------------
.../gremlin/process/remote/RemoteGraph.java | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/03dbf20d/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/RemoteGraph.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/RemoteGraph.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/RemoteGraph.java
index e88e824..119608a 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/RemoteGraph.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/remote/RemoteGraph.java
@@ -42,6 +42,26 @@ import java.util.Iterator;
* @author Stephen Mallette (http://stephen.genoprime.com)
*/
@Graph.OptIn(Graph.OptIn.SUITE_PROCESS_STANDARD)
+@Graph.OptOut(
+ test = "org.apache.tinkerpop.gremlin.process.traversal.CoreTraversalTest",
+ method = "shouldLoadVerticesViaVertices",
+ reason = "RemoteGraph doesn't seem to serialize a native Vertex (e.g. TinkerVertex) within the Traversal")
+@Graph.OptOut(
+ test = "org.apache.tinkerpop.gremlin.process.traversal.CoreTraversalTest",
+ method = "shouldLoadEdgesViaEdges",
+ reason = "RemoteGraph doesn't seem to serialize a native Element (e.g. TinkerEdge) within the Traversal")
+@Graph.OptOut(
+ test = "org.apache.tinkerpop.gremlin.process.traversal.CoreTraversalTest",
+ method = "shouldThrowExceptionWhenIdsMixed",
+ reason = "RemoteGraph doesn't seem to serialize a native Element (e.g. TinkerEdge) within the Traversal")
+@Graph.OptOut(
+ test = "org.apache.tinkerpop.gremlin.process.traversal.CoreTraversalTest",
+ method = "shouldNeverPropagateANoBulkTraverser",
+ reason = "RemoteGraph can't serialize a lambda so the test fails before it has a chance for the Traversal to be evaluated")
+@Graph.OptOut(
+ test = "org.apache.tinkerpop.gremlin.process.traversal.CoreTraversalTest",
+ method = "shouldNeverPropagateANullValuedTraverser",
+ reason = "RemoteGraph can't serialize a lambda so the test fails before it has a chance for the Traversal to be evaluated")
public class RemoteGraph implements Graph {
private final RemoteConnection connection;