aboutsummaryrefslogtreecommitdiff
path: root/test/functional/maxuploadtarget.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-03-23 23:56:31 -0400
committerJohn Newbery <john@johnnewbery.com>2017-05-31 16:59:38 -0400
commitd8c218f9c268b00ed9bb8e7ee00e980a0fa326de (patch)
tree23f699605512b7d3c643461b8939724edc3850e8 /test/functional/maxuploadtarget.py
parentc1c9a95379d364ea8ca5d3d0789e8afb1a99bb8b (diff)
downloadbitcoin-d8c218f9c268b00ed9bb8e7ee00e980a0fa326de.tar.xz
[tests] Functional tests call self.start_node(s) and self.stop_node(s)
This commit changes the individual test scripts to call the start_node(s) and stop_node(s) methods in BitcoinTestFramework.
Diffstat (limited to 'test/functional/maxuploadtarget.py')
-rwxr-xr-xtest/functional/maxuploadtarget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/maxuploadtarget.py b/test/functional/maxuploadtarget.py
index bff1b53234..66e5bd29e6 100755
--- a/test/functional/maxuploadtarget.py
+++ b/test/functional/maxuploadtarget.py
@@ -146,8 +146,8 @@ class MaxUploadTest(BitcoinTestFramework):
#stop and start node 0 with 1MB maxuploadtarget, whitelist 127.0.0.1
self.log.info("Restarting nodes with -whitelist=127.0.0.1")
- stop_node(self.nodes[0], 0)
- self.nodes[0] = start_node(0, self.options.tmpdir, ["-whitelist=127.0.0.1", "-maxuploadtarget=1", "-blockmaxsize=999000"])
+ self.stop_node(0)
+ self.nodes[0] = self.start_node(0, self.options.tmpdir, ["-whitelist=127.0.0.1", "-maxuploadtarget=1", "-blockmaxsize=999000"])
#recreate/reconnect a test node
test_nodes = [TestNode()]