diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-11-17 17:20:23 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-11-17 17:20:32 +0100 |
| commit | 20e4f654f5b98d6470bbe4dafd1dc0f070aee49c (patch) | |
| tree | 95cd5d073c308a68d7983587baa804c3c3c76ee6 | |
| parent | Merge pull request #5293 (diff) | |
| parent | Fix node ranges in the test framework. (diff) | |
| download | discoin-20e4f654f5b98d6470bbe4dafd1dc0f070aee49c.tar.xz discoin-20e4f654f5b98d6470bbe4dafd1dc0f070aee49c.zip | |
Merge pull request #5237
2db4c8a Fix node ranges in the test framework. (Daniel Kraft)
| -rwxr-xr-x | qa/rpc-tests/test_framework.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/rpc-tests/test_framework.py b/qa/rpc-tests/test_framework.py index c3396a5a8..9591c024f 100755 --- a/qa/rpc-tests/test_framework.py +++ b/qa/rpc-tests/test_framework.py @@ -44,8 +44,8 @@ class BitcoinTestFramework(object): # on outward. This ensures that chains are properly reorganised. if not split: connect_nodes_bi(self.nodes, 1, 2) - sync_blocks(self.nodes[1:2]) - sync_mempools(self.nodes[1:2]) + sync_blocks(self.nodes[1:3]) + sync_mempools(self.nodes[1:3]) connect_nodes_bi(self.nodes, 0, 1) connect_nodes_bi(self.nodes, 2, 3) @@ -63,9 +63,9 @@ class BitcoinTestFramework(object): def sync_all(self): if self.is_network_split: - sync_blocks(self.nodes[:1]) + sync_blocks(self.nodes[:2]) sync_blocks(self.nodes[2:]) - sync_mempools(self.nodes[:1]) + sync_mempools(self.nodes[:2]) sync_mempools(self.nodes[2:]) else: sync_blocks(self.nodes) |