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 2018/08/16 15:40:29 UTC
[41/50] tinkerpop git commit: Ignored pageRank() test for decimal
assertion problems in GLVs CTR
Ignored pageRank() test for decimal assertion problems in GLVs CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/bdda9135
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/bdda9135
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/bdda9135
Branch: refs/heads/TINKERPOP-1913
Commit: bdda91355f91fe5074424a0396e346577d08a8a4
Parents: 25ae755
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue Aug 14 07:07:49 2018 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue Aug 14 07:07:49 2018 -0400
----------------------------------------------------------------------
gremlin-test/features/map/PageRank.feature | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/bdda9135/gremlin-test/features/map/PageRank.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/map/PageRank.feature b/gremlin-test/features/map/PageRank.feature
index 8ead2d4..24a19ec 100644
--- a/gremlin-test/features/map/PageRank.feature
+++ b/gremlin-test/features/map/PageRank.feature
@@ -78,19 +78,12 @@ Feature: Step - pageRank()
Scenario: g_V_pageRank_byXoutEXknowsXX_byXfriendRankX_valueMapXname_friendRankX
Given the modern graph
- And the traversal of
+ Given an unsupported test
+ Then nothing should happen because
"""
- g.withComputer().V().pageRank().by(__.outE("knows")).by("friendRank").valueMap("name", "friendRank")
+ The result is not completely deterministic with respect to the decimals that pageRank() produces and the
+ GLV framework does not have a notion for asserting anything beyond an equals() sort of state.
"""
- When iterated to list
- Then the result should be unordered
- | result |
- | m[{"name": ["marko"], "friendRank": [0.14598537777608422]}] |
- | m[{"name": ["vadas"], "friendRank": [0.20802924444783155]}] |
- | m[{"name": ["lop"], "friendRank": [0.14598537777608422]}] |
- | m[{"name": ["josh"], "friendRank": [0.20802924444783155]}] |
- | m[{"name": ["ripple"], "friendRank": [0.14598537777608422]}] |
- | m[{"name": ["peter"], "friendRank": [0.14598537777608422]}] |
Scenario: g_V_hasLabelXpersonX_pageRank_byXpageRankX_order_byXpageRankX_valueMapXname_pageRankX
Given an unsupported test