Commit 80948fb7 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix test that were broken since r1498.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1517 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 73c42144
...@@ -157,7 +157,8 @@ class MasterRecoveryTests(NeoTestBase): ...@@ -157,7 +157,8 @@ class MasterRecoveryTests(NeoTestBase):
offset = 1000000 offset = 1000000
self.assertFalse(self.app.pt.hasOffset(offset)) self.assertFalse(self.app.pt.hasOffset(offset))
cell_list = [(offset, ((uuid, NodeStates.DOWN,),),)] cell_list = [(offset, ((uuid, NodeStates.DOWN,),),)]
self.checkUnexpectedPacketRaised(recovery.answerPartitionTable, conn, packet, None, cell_list) self.checkProtocolErrorRaised(recovery.answerPartitionTable, conn,
packet, None, cell_list)
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -84,7 +84,7 @@ class MasterStorageHandlerTests(NeoTestBase): ...@@ -84,7 +84,7 @@ class MasterStorageHandlerTests(NeoTestBase):
self.assertTrue(tid1 < tid2) self.assertTrue(tid1 < tid2)
node, conn = self.identifyToMasterNode() node, conn = self.identifyToMasterNode()
packet = Packets.NotifyInformationLocked(tid2) packet = Packets.NotifyInformationLocked(tid2)
self.checkUnexpectedPacketRaised(self.service.notifyInformationLocked, self.checkProtocolErrorRaised(self.service.notifyInformationLocked,
conn, packet, tid2) conn, packet, tid2)
self.checkNoPacketSent(conn) self.checkNoPacketSent(conn)
......
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