• Julien Muchembled's avatar
    master: fix crash when initializing cluster with secondary masters · 1183dac4
    Julien Muchembled authored
    testElectionWithManyMasters (neo.tests.functional.testCluster.ClusterTests) ... Traceback (most recent call last):
      File "neo/tests/functional/__init__.py", line 215, in start
        self.run()
      File "neo/tests/functional/__init__.py", line 311, in run
        getattr(neo.scripts,  self.command).main()
      File "neo/scripts/neomaster.py", line 31, in main
        app.run()
      File "neo/master/app.py", line 183, in run
        self._run()
      File "neo/master/app.py", line 194, in _run
        self.playPrimaryRole()
      File "neo/master/app.py", line 315, in playPrimaryRole
        self.runManager(RecoveryManager)
      File "neo/master/app.py", line 446, in runManager
        self._current_manager.run()
      File "neo/master/recovery.py", line 142, in run
        pt.make(node_list)
      File "neo/master/pt.py", line 66, in make
        assert node.isRunning() and node.getUUID() is not None, node
    AssertionError: <MasterNode(uuid=M18, address=127.0.0.1:29039, state=DOWN, connection=None, not identified) at 55afdfbdf750>
    ERROR
    1183dac4