[ 
https://issues.apache.org/jira/browse/TINKERPOP-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette closed TINKERPOP-1205.
---------------------------------------
    Resolution: Invalid

I'm not sure if you realized, but development of TinkerPop 2.x stopped long 
ago. If you are building something new you should really be thinking about 3.x:

http://tinkerpop.apache.org/docs/3.1.1-incubating/reference/#graph-system-provider-requirements

I honestly don't remember much about how those tests work - it's been a very 
long time since I last looked at them in any serious way. I would say that you 
should look at Neo4j's implementation which pass the tests just fine:

https://github.com/tinkerpop/blueprints/blob/70b35dc90a11602b03afe8e0862f8a0836b34c13/blueprints-neo4j-graph/src/test/java/com/tinkerpop/blueprints/impls/neo4j/Neo4jGraphTest.java#L111-L120

I'm pretty sure that for a particular test, there should be a way to reference 
the same graph give it's "name" (the value passed to {{generateGraph(String)}.  
Between tests on teardown, I'm pretty sure that the data directories get 
destroyed.

As this is a not a TinkerPop 3.x issue, i"m going to close this.  In the future 
if you have other 2.x questions you should try to the gremlin-users mailing 
list instead.  Or just go to a TinkerPop 3.x! :)


> Unable to complete Blueprint-Usergrid driver implementation due to unclear 
> test case in GraphTestSuite.java
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1205
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1205
>             Project: TinkerPop
>          Issue Type: Bug
>            Reporter: Ayesha Amrin Dastagiri
>
> Hi,
> We at Apigee, are trying to complete the blueprints driver implementation for 
> Apache Usergrid. 
> I had the following questions :
> For the “blueprints" driver, should generateGraph() create a new empty graph 
> or point to an existing graph?
> 1. If it requires to create a new graph every time, then the testcase 
> "testGraphDataPersists()" in GraphTestSuite.java fails at line 758 
> “assertEquals(count(graph.getVertices()), 2);” 
> 2. If it requires to point to an existing graph as specified by the user 
> config, then, few other testcases fail at asserting the number of vertices in 
> a graph.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to