Project Number Date
cypher-for-gremlin 0.9.11 09 Aug 2018, 10:56

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

10:54:55.919 [Test worker] INFO o.o.g.r.GremlinServerExternalResource - Running tests using embeded TinkerGraph 10:54:56.197 [Test worker] INFO o.a.t.g.s.GremlinServer - Graph [graph] was successfully configured via [../testware-common/src/main/resources/tinkergraph-empty.properties]. 10:54:56.199 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized Gremlin thread pool. Threads in pool named with pattern gremlin-* 10:54:56.268 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized GremlinExecutor and preparing GremlinScriptEngines instances. 10:54:57.700 [Test worker] INFO o.a.t.g.s.u.ServerGremlinExecutor - Initialized gremlin-groovy GremlinScriptEngine and registered metrics 10:54:57.791 [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] 10:54:57.811 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the cypher OpProcessor. 10:54:57.814 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the standard OpProcessor. 10:54:57.817 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the session OpProcessor. 10:54:58.062 [Test worker] INFO o.a.t.g.s.op.OpLoader - Adding the traversal OpProcessor. 10:54:58.069 [Test worker] INFO o.a.t.g.s.o.t.TraversalOpProcessor - Initialized cache for TraversalOpProcessor with size 1000 and expiration time of 600000 ms 10:54:58.092 [Test worker] INFO o.a.t.g.s.GremlinServer - Executing start up LifeCycleHook 10:54:58.103 [Test worker] INFO o.a.t.g.s.GremlinServer - Loading 'modern' graph data. 10:54:58.117 [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 10:54:58.118 [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 10:54:58.207 [Test worker] INFO o.a.t.g.s.AbstractChannelizer - Configured application/vnd.gremlin-v3.0+gryo with org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0 10:54:58.279 [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. 10:54:58.279 [gremlin-server-boss-1] INFO o.a.t.g.s.GremlinServer - Channel started at port 34849. 10:54:58.279 [Test worker] INFO o.o.g.s.EmbeddedGremlinServer - EmbeddedGremlinServer started (port 34849) 10:54:58.318 [Test worker] DEBUG o.a.t.g.driver.Client - Initializing client on cluster [localhost/127.0.0.1:34849] 10:54:58.436 [Test worker] INFO o.a.t.g.d.Connection - Created new connection for ws://localhost:34849/gremlin 10:54:58.442 [Test worker] INFO o.a.t.g.d.Connection - Created new connection for ws://localhost:34849/gremlin 10:54:58.442 [Test worker] INFO o.a.t.g.d.ConnectionPool - Opening connection pool on Host{address=localhost/127.0.0.1:34849, hostUri=ws://localhost:34849/gremlin} with core size of 2 10:54:58.451 [Test worker] DEBUG o.a.t.g.driver.Client - g.V().drop()}} to - Connection{host=Host{address=localhost/127.0.0.1:34849, hostUri=ws://localhost:34849/gremlin}}

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

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

10:54:59.838 [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:34849, hostUri=ws://localhost:34849/gremlin}} 10:54:59.840 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) WHERE NOT(n.name = 'apa' AND false) RETURN n 10:54:59.889 [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(true))

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

10:54:59.901 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH (n) RETURN id(n)}} to - Connection{host=Host{address=localhost/127.0.0.1:34849, hostUri=ws://localhost:34849/gremlin}} 10:54:59.902 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) RETURN id(n) 10:54:59.912 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().project('id(n)').by(__.id()) 10:54:59.915 [Test worker] DEBUG o.a.t.g.driver.Client - MATCH ()-[r]->() RETURN id(r)}} to - Connection{host=Host{address=localhost/127.0.0.1:34849, hostUri=ws://localhost:34849/gremlin}} 10:54:59.916 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH ()-[r]->() RETURN id(r) 10:54:59.929 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.E().project('id(r)').by(__.id()) 10:54:59.942 [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:34849, hostUri=ws://localhost:34849/gremlin}} 10:54:59.943 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Cypher: MATCH (n) UNWIND labels(n) AS label RETURN DISTINCT label 10:54:59.957 [gremlin-server-worker-1] INFO o.o.g.s.o.c.CypherOpProcessor - Gremlin: g.V().label().is(neq('vertex')).project('label').by(__.identity()).dedup() 10:54:59.969 [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:34849, hostUri=ws://localhost:34849/gremlin}} 10:54:59.981 [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:34849, hostUri=ws://localhost:34849/gremlin}} -labels: 0 +labels: 0 +nodes: 0 -nodes: 0 -properties: 0 +properties: 0 -relationships: 0 +relationships: 0