Commit 6bc3318d authored by Julien Muchembled's avatar Julien Muchembled

tests: fix wrong check in MasterClientElectionTests.test_acceptIdentification3

parent 5fe1af62
......@@ -193,7 +193,8 @@ class MasterClientElectionTests(MasterClientElectionTestBase):
self._getMasterList())
self.election.acceptIdentification(conn, NodeTypes.MASTER, *args)
self.checkUUIDSet(conn, node.getUUID())
self.assertTrue(self.app.primary or node.getUUID() < self.app.uuid)
self.assertEqual(self.app.primary is False,
self.app.server < node.getAddress())
self.assertFalse(node in self.app.negotiating_master_node_set)
def _getMasterList(self, with_node=None):
......
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