aboutsummaryrefslogtreecommitdiff
path: root/test/functional/proxy_test.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-24 11:11:56 -0400
committerJohn Newbery <john@johnnewbery.com>2017-09-01 12:25:55 -0400
commit7148b74dc39110f53c665b94fa9d994c6ad6dc1c (patch)
treeddece712dcd461829ca3b5133b47a14cb945c96a /test/functional/proxy_test.py
parent5448a1471d6fc638a2220ea5a2f3782172efe14c (diff)
downloadbitcoin-7148b74dc39110f53c665b94fa9d994c6ad6dc1c.tar.xz
[tests] Functional tests must explicitly set num_nodes
Diffstat (limited to 'test/functional/proxy_test.py')
-rwxr-xr-xtest/functional/proxy_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/proxy_test.py b/test/functional/proxy_test.py
index 26cb645da4..81b99d1bf4 100755
--- a/test/functional/proxy_test.py
+++ b/test/functional/proxy_test.py
@@ -42,6 +42,9 @@ from test_framework.netutil import test_ipv6_local
RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports
class ProxyTest(BitcoinTestFramework):
+ def set_test_params(self):
+ self.num_nodes = 4
+
def setup_nodes(self):
self.have_ipv6 = test_ipv6_local()
# Create two proxies on different ports