Overview

Test case for degenerate use of rollback and commit features of RootServiceJpa. This involves testing things like commit and rollback when there isn't an active transaction.

Assumptions

  • n/a

Procedure 1

  • Set transaction per operation to true
  • Call rollback
    • TEST: should produce an exception
  • Call commit
    • TEST: should produce an exception
  • Set transaction per operation to false
  • Call rollback
    • TEST: should produce an exception
  • Call commit
    • TEST: should produce an exception
  • Begin a transaction
  • Call rollback
  • Call rollback again
    • TEST: should produce an exception
  • Begin a transaction
  • Call commit
  • Call commit again
    • TEST: should produce an exception

Expected Runtime

  • < 1 sec

Notes

  • n/a
  • No labels