Commit f8e75ad4 authored by Jim Fulton's avatar Jim Fulton

Added missing (sub)test for calling tpc_vote with wrong transaction.

parent 8d0fd753
...@@ -52,6 +52,10 @@ class BasicStorage: ...@@ -52,6 +52,10 @@ class BasicStorage:
POSException.StorageTransactionError, POSException.StorageTransactionError,
self._storage.store, self._storage.store,
ZERO, 1, '2', '', transaction.Transaction()) ZERO, 1, '2', '', transaction.Transaction())
self.assertRaises(
POSException.StorageTransactionError,
self._storage.tpc_vote, transaction.Transaction())
self._storage.tpc_abort(t) self._storage.tpc_abort(t)
def checkSerialIsNoneForInitialRevision(self): def checkSerialIsNoneForInitialRevision(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment