Commit fb7c3664 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix r2414: test replaces connection pool with custom one.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2416 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6a328e13
...@@ -680,6 +680,9 @@ class ClientApplicationTests(NeoUnitTestBase): ...@@ -680,6 +680,9 @@ class ClientApplicationTests(NeoUnitTestBase):
class ConnectionPool(object): class ConnectionPool(object):
def getConnForNode(self, node): def getConnForNode(self, node):
return node.getConnection() return node.getConnection()
def flush(self):
pass
app.cp = ConnectionPool() app.cp = ConnectionPool()
# abort must be sent to storage 1 and 2 # abort must be sent to storage 1 and 2
app.tpc_abort(txn) app.tpc_abort(txn)
......
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