Commit 8a9c18b4 authored by Grégory Wisniewski's avatar Grégory Wisniewski

A little bit dirty but this avoid the special case 'None' and fix the test.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1493 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5cb770e5
...@@ -95,8 +95,10 @@ class MasterRecoveryTests(NeoTestBase): ...@@ -95,8 +95,10 @@ class MasterRecoveryTests(NeoTestBase):
recovery = self.recovery recovery = self.recovery
uuid = self.identifyToMasterNode() uuid = self.identifyToMasterNode()
packet = Packets.AnswerLastIDs() packet = Packets.AnswerLastIDs()
loid = self.app.loid loid = self.app.loid = '\1' * 8
self.app.tm.setLastTID('\1' * 8)
ltid = self.app.tm.getLastTID() ltid = self.app.tm.getLastTID()
self.app.pt.setID('\1' * 8)
lptid = self.app.pt.getID() lptid = self.app.pt.getID()
# send information which are later to what PMN knows, this must update target node # send information which are later to what PMN knows, this must update target node
conn = self.getFakeConnection(uuid, self.storage_port) conn = self.getFakeConnection(uuid, self.storage_port)
......
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