From d8c218f9c268b00ed9bb8e7ee00e980a0fa326de Mon Sep 17 00:00:00 2001 From: John Newbery Date: Thu, 23 Mar 2017 23:56:31 -0400 Subject: [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. --- test/functional/maxuploadtarget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/maxuploadtarget.py') 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()] -- cgit v1.2.3