aboutsummaryrefslogtreecommitdiff
path: root/test/functional/maxuploadtarget.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-04-03 09:34:04 -0400
committerJohn Newbery <john@johnnewbery.com>2017-05-02 13:31:54 -0400
commitc9cc76dcaad85aa9441f18d38298f27a0ffd852a (patch)
tree7f3a0bbb5ed9d64f4fe62a7e47abd2a8595a17eb /test/functional/maxuploadtarget.py
parent8f3e38477e30abd9dd0e24a4d612126117f7793c (diff)
downloadbitcoin-c9cc76dcaad85aa9441f18d38298f27a0ffd852a.tar.xz
[tests] Remove is_network_split from funtional test cases
Diffstat (limited to 'test/functional/maxuploadtarget.py')
-rwxr-xr-xtest/functional/maxuploadtarget.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/functional/maxuploadtarget.py b/test/functional/maxuploadtarget.py
index b38fdc0f88..bff1b53234 100755
--- a/test/functional/maxuploadtarget.py
+++ b/test/functional/maxuploadtarget.py
@@ -35,15 +35,11 @@ class MaxUploadTest(BitcoinTestFramework):
super().__init__()
self.setup_clean_chain = True
self.num_nodes = 1
+ self.extra_args = [["-maxuploadtarget=800", "-blockmaxsize=999000"]]
# Cache for utxos, as the listunspent may take a long time later in the test
self.utxo_cache = []
- def setup_network(self):
- # Start a node with maxuploadtarget of 200 MB (/24h)
- self.nodes = []
- self.nodes.append(start_node(0, self.options.tmpdir, ["-maxuploadtarget=800", "-blockmaxsize=999000"]))
-
def run_test(self):
# Before we connect anything, we first set the time on the node
# to be in the past, otherwise things break because the CNode