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

stephen mallette closed TINKERPOP-1059.
---------------------------------------
    Resolution: Implemented
      Assignee: stephen mallette

Implemented on 
https://github.com/apache/incubator-tinkerpop/commit/08720716cbb2d777fc5200e8afd3843802ed4ac3

> Add test to ensure transaction opening happens at read/write and not on close
> -----------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1059
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1059
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: structure
>    Affects Versions: 3.1.0-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>            Priority: Minor
>              Labels: breaking
>             Fix For: 3.2.1
>
>
> Basically want to ensure consistency of operations of {{Graph}} instances 
> around:
> {code}
> g.tx().commit/rollback()
> assertFalse(g.tx().isOpen())
> {code}
> I believe that most graphs work this way already, but we don't have anything 
> that explicitly enforces it.  I don't know that a new test is needed 
> necessarily - perhaps just a new {{assert()}}.



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

Reply via email to