Project Number Date
cypher-for-gremlin 0.9.10 04 Jul 2018, 23:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
WhereAcceptance 5 0 0 0 0 5 1 0 1 2.060 Passed
Feature WhereAcceptance
2.060
Given an empty graph 0.003

23:02:21.777 [Test worker] INFO o.o.g.r.GremlinServerExternalResource - Running tests using embeded TinkerGraph 23:02:22.175 [Test worker] INFO o.a.t.g.s.GremlinServer - Graph [graph] was successfully configured via [../testware-common/src/main/resources/tinkergraph-empty.properties]. 23:02:22.177 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized Gremlin thread pool. Threads in pool named with pattern gremlin-* 23:02:22.286 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized GremlinExecutor and preparing GremlinScriptEngines instances. 23:02:24.399 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized gremlin-groovy GremlinScriptEngine and registered metrics 23:02:24.401 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - A GraphTraversalSource is now bound to [g] with graphtraversalsource[tinkergraph[vertices:0 edges:0], standard] 23:02:24.535 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the cypher OpProcessor. 23:02:24.540 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the standard OpProcessor. 23:02:24.543 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the session OpProcessor. 23:02:24.868 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the traversal OpProcessor. 23:02:24.876 [Test worker] INFO o.a.t.g.s.o.t.TraversalOpProcessor - Initialized cache for TraversalOpProcessor with size 1000 and expiration time of 600000 ms 23:02:24.910 [Test worker] INFO o.a.t.g.s.GremlinServer - Executing start up LifeCycleHook 23:02:24.924 [Test worker] INFO o.a.t.g.s.GremlinServer - Loading 'modern' graph data. 23:02:24.944 [Test worker] INFO o.a.t.g.s.GremlinServer - idleConnectionTimeout was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled 23:02:24.944 [Test worker] INFO o.a.t.g.s.GremlinServer - keepAliveInterval was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled 23:02:25.040 [Test worker] INFO o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v3.0+gryo with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 23:02:25.125 [gremlin-server-boss-1] INFO o.a.t.g.s.GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool of 4 and boss thread pool of 1. 23:02:25.126 [gremlin-server-boss-1] INFO o.a.t.g.s.GremlinServer - Channel started at port 37875. 23:02:25.126 [Test worker] INFO o.o.g.s.EmbeddedGremlinServer - EmbeddedGremlinServer started (port 37875) 23:02:25.170 [Test worker] DEBUG o.a.t.g.driver.Client - Initializing client on cluster [localhost/127.0.0.1:37875] 23:02:25.316 [Test worker] INFO o.a.t.g.d.Connection - Created new connection for ws://localhost:37875/gremlin 23:02:25.328 [Test worker] INFO o.a.t.g.d.Connection - Created new connection for ws://localhost:37875/gremlin 23:02:25.328 [Test worker] INFO o.a.t.g.d.ConnectionPool - Opening connection pool on Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin} with core size of 2 23:02:25.333 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}}

And having executed: 1.804
CREATE ({name: 'a'})

23:02:25.610 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE ({name: 'a'}) 23:02:25.628 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE ({name: 'a'})}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}} 23:02:27.368 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.addV().property(single, 'name', 'a').barrier().limit(0)

When executing query: 0.082
MATCH (n)
WHERE NOT(n.name = 'apa' AND false)
RETURN n

23:02:27.931 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) WHERE NOT(n.name = 'apa' AND false) RETURN n}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}} 23:02:27.933 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) WHERE NOT(n.name = 'apa' AND false) RETURN n 23:02:27.994 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().as('n').where(__.not(__.constant(false).is(eq(true)))).select('n').project('n').by(__.choose(neq(' cypher.null'), __.valueMap(true), __.constant(' cypher.null')))

Then the result should be: 0.004
n
({name: 'a'})
And no side effects 0.165

23:02:28.018 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}} 23:02:28.024 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 23:02:28.041 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.choose(neq(' cypher.null'), __.id(), __.constant(' cypher.null'))) 23:02:28.048 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}} 23:02:28.050 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 23:02:28.064 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.choose(neq(' cypher.null'), __.id(), __.constant(' cypher.null'))) 23:02:28.086 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}} 23:02:28.088 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 23:02:28.104 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().label().is(neq('vertex')).project('label').by(__.identity()).dedup() 23:02:28.128 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().as('V').properties().project('nodeId', 'key', 'value').by(__.select('V').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}} 23:02:28.143 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().outE().as('E').properties().project('relId', 'key', 'value').by(__.select('E').id()).by(__.key()).by(__.value())}} to - Connection{host=Host{address=localhost/127.0.0.1:37875, hostUri=ws://localhost:37875/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0