Repository: tinkerpop
Updated Branches:
  refs/heads/TRAVIS-TEST 531932715 -> 730eb293a


bla


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

Branch: refs/heads/TRAVIS-TEST
Commit: 730eb293a7e9b4b0dc011ab5cb3d4d31dff6cad4
Parents: 5319327
Author: Daniel Kuppitz <daniel_kupp...@hotmail.com>
Authored: Fri Mar 9 11:49:54 2018 -0700
Committer: Daniel Kuppitz <daniel_kupp...@hotmail.com>
Committed: Fri Mar 9 11:49:54 2018 -0700

----------------------------------------------------------------------
 .../strategy/decoration/SubgraphStrategyProcessTest.java     | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/730eb293/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
----------------------------------------------------------------------
diff --git 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
index 2565770..b62396f 100644
--- 
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
+++ 
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategyProcessTest.java
@@ -289,8 +289,12 @@ public class SubgraphStrategyProcessTest extends 
AbstractGremlinProcessTest {
         assertEquals(3, 
g.V(convertToVertexId("josh")).bothE().count().next().longValue());
         assertEquals(2, 
sg.V(convertToVertexId("josh")).bothE().count().next().longValue());
         assertEquals(3, 
g.V(convertToVertexId("josh")).both().count().next().longValue());
-        assertEquals(2, 
sg.V(convertToVertexId("josh")).both().count().next().longValue());
-
+final Traversal<Vertex, Long> t = 
sg.V(convertToVertexId("josh")).both().count();
+try {
+        assertEquals(2, t.next().longValue());
+} catch (IllegalStateException ex) {
+  throw new IllegalStateException(t.toString(), ex);
+}
         // marko not present directly because of vertexCriterion - only 
accessible via vertices in the subgraph
         assertEquals(1, 
g.V(convertToVertexId("marko")).count().next().longValue());
         assertEquals(0, 
sg.V(convertToVertexId("marko")).count().next().longValue());

Reply via email to