Project Number Date
cypher-for-gremlin 1.0.0 02 Mar 2019, 16:49

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 0.134 Passed
Feature WhereAcceptance
0.134
Given an empty graph 0.001

16:49:03.681 [Test worker] INFO o.o.g.r.GremlinServerExternalResource - Running tests using embeded TinkerGraph 16:49:03.807 [Test worker] INFO o.a.t.g.s.GremlinServer - Graph [graph] was successfully configured via [../testware-common/src/main/resources/tinkergraph-empty.properties]. 16:49:03.808 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized Gremlin thread pool. Threads in pool named with pattern gremlin-* 16:49:03.824 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized GremlinExecutor and preparing GremlinScriptEngines instances. 16:49:05.064 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized gremlin-groovy GremlinScriptEngine and registered metrics 16:49:05.064 [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] 16:49:05.073 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the cypher OpProcessor. 16:49:05.074 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the standard OpProcessor. 16:49:05.076 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the session OpProcessor. 16:49:05.197 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the traversal OpProcessor. 16:49:05.202 [Test worker] INFO o.a.t.g.s.o.t.TraversalOpProcessor - Initialized cache for TraversalOpProcessor with size 1000 and expiration time of 600000 ms 16:49:05.224 [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 16:49:05.225 [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 16:49:05.243 [Test worker] INFO o.a.t.g.s.AbstractChannelizer - Configured application/vnd.graphbinary-v1.0 with org.apache.tinkerpop.gremlin.driver.ser.GraphBinaryMessageSerializerV1 16:49:05.272 [gremlin-server-boss-1] INFO o.a.t.g.s.GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool of 12 and boss thread pool of 1. 16:49:05.272 [gremlin-server-boss-1] INFO o.a.t.g.s.GremlinServer - Channel started at port 37305. 16:49:05.272 [Test worker] INFO o.o.g.s.EmbeddedGremlinServer - EmbeddedGremlinServer started (port 37305) 16:49:05.312 [Test worker] DEBUG o.a.t.g.driver.Client - Initializing client on cluster [localhost/127.0.0.1:37305] 16:49:05.370 [Test worker] INFO o.a.t.g.d.Connection - Created new connection for ws://localhost:37305/gremlin 16:49:05.372 [Test worker] INFO o.a.t.g.d.Connection - Created new connection for ws://localhost:37305/gremlin 16:49:05.372 [Test worker] INFO o.a.t.g.d.ConnectionPool - Opening connection pool on Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin} with core size of 2 16:49:05.374 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) DETACH DELETE n;}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:05.377 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) DETACH DELETE n; 16:49:05.380 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:05.828 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().drop()

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

16:49:05.874 [Test worker] DEBUG o.a.t.g.driver.Client - CREATE ({name: 'a'})}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:05.875 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: CREATE ({name: 'a'}) 16:49:05.891 [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.031
MATCH (n)
WHERE NOT(n.name = 'apa' AND false)
RETURN n

16:49:06.053 [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:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:06.054 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) WHERE NOT(n.name = 'apa' AND false) RETURN n 16:49:06.076 [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(__.valueMap().with('~tinkerpop.valueMap.tokens'))

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

16:49:06.086 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:06.086 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 16:49:06.094 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 16:49:06.096 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:06.098 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 16:49:06.105 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 16:49:06.111 [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:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:06.111 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 16:49:06.117 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().map(__.label().is(neq('vertex')).fold()).unfold().project('label').by(__.identity()).dedup() 16:49:06.138 [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:37305, hostUri=ws://localhost:37305/gremlin}} 16:49:06.142 [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:37305, hostUri=ws://localhost:37305/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0