diff options
author | John Newbery <john@johnnewbery.com> | 2017-08-24 11:11:56 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-10-03 18:44:16 +0200 |
commit | 82bf6fc6d48a232cc0ceb54b136d86914f49013c (patch) | |
tree | d9709ea3cb26287e192aed77e65ca17cfb9c9a39 /test/functional/getchaintips.py | |
parent | 801d2ae9247be5870344c8b4ed5c372ab8930408 (diff) | |
download | bitcoin-82bf6fc6d48a232cc0ceb54b136d86914f49013c.tar.xz |
[tests] Functional tests must explicitly set num_nodes
Github-Pull: #11121
Rebased-From: 7148b74dc39110f53c665b94fa9d994c6ad6dc1c
Diffstat (limited to 'test/functional/getchaintips.py')
-rwxr-xr-x | test/functional/getchaintips.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/getchaintips.py b/test/functional/getchaintips.py index 00fc23c6b0..21b67bfc64 100755 --- a/test/functional/getchaintips.py +++ b/test/functional/getchaintips.py @@ -14,6 +14,9 @@ from test_framework.test_framework import BitcoinTestFramework from test_framework.util import assert_equal class GetChainTipsTest (BitcoinTestFramework): + def set_test_params(self): + self.num_nodes = 4 + def run_test (self): tips = self.nodes[0].getchaintips () assert_equal (len (tips), 1) |