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):
offset = 1000000
self.assertFalse(self.app.pt.hasOffset(offset))
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__':
......
......@@ -84,7 +84,7 @@ class MasterStorageHandlerTests(NeoTestBase):
self.assertTrue(tid1 < tid2)
node, conn = self.identifyToMasterNode()
packet = Packets.NotifyInformationLocked(tid2)
self.checkUnexpectedPacketRaised(self.service.notifyInformationLocked,
self.checkProtocolErrorRaised(self.service.notifyInformationLocked,
conn, packet, tid2)
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