network integration test fix
This commit is contained in:
parent
b12ff5b503
commit
227fb0ae9b
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ class ReconnectTests(IntegrationTestCase):
|
||||||
node2 = SPVNode(self.conductor.spv_module, node_number=2)
|
node2 = SPVNode(self.conductor.spv_module, node_number=2)
|
||||||
await node2.start(self.blockchain)
|
await node2.start(self.blockchain)
|
||||||
|
|
||||||
self.ledger.network.config['default_servers'].append((node2.hostname, node2.port))
|
self.ledger.network.config['explicit_servers'].append((node2.hostname, node2.port))
|
||||||
self.ledger.network.config['default_servers'].reverse()
|
self.ledger.network.config['explicit_servers'].reverse()
|
||||||
self.assertEqual(50002, self.ledger.network.client.server[1])
|
self.assertEqual(50002, self.ledger.network.client.server[1])
|
||||||
await self.ledger.stop()
|
await self.ledger.stop()
|
||||||
await self.ledger.start()
|
await self.ledger.start()
|
||||||
|
|
Loading…
Reference in a new issue