Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1059

Add test to ensure transaction opening happens at read/write and not on close

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: 3.1.0-incubating
    • Fix Version/s: 3.2.1
    • Component/s: structure
    • Labels:

      Description

      Basically want to ensure consistency of operations of Graph instances around:

      g.tx().commit/rollback()
      assertFalse(g.tx().isOpen())
      

      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().

        Activity

        Show
        spmallette stephen mallette added a comment - Implemented on https://github.com/apache/incubator-tinkerpop/commit/08720716cbb2d777fc5200e8afd3843802ed4ac3

          People

          • Assignee:
            spmallette stephen mallette
            Reporter:
            spmallette stephen mallette
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development