You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/12/21 19:26:46 UTC

[jira] [Created] (TINKERPOP-1059) Add test to ensure transaction opening happens at read/write and not on close

stephen mallette created TINKERPOP-1059:
-------------------------------------------

             Summary: 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
            Priority: Minor
             Fix For: 3.2.0-incubating


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)