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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 3.1.0-incubating
    • 3.2.1
    • structure

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

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: