diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-08-17 12:12:55 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-08-17 12:23:45 +0200 |
commit | 740cff5808c3d733baabcca8ca24bd81dabcd25e (patch) | |
tree | 618727f1afd0a8c270d97ce43110878ea9b51b72 /qa/rpc-tests/segwit.py | |
parent | 29496fc9e09586fcf7fb060c381cf2a518d0e7ed (diff) | |
parent | fad8cf63e5f6a2e26b44dbf2bbdd7df901c4e6f4 (diff) |
Merge #8482: [qa] Use single cache dir for chains
fad8cf6 [qa] Use single cache dir for chains (MarcoFalke)
fa2d68f [qa] Adjust timeouts for micro-optimization of run time (MarcoFalke)
fae596f [qa] Sort scripts by time for pull_tester and don't overwrite setup_chain (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/segwit.py')
-rwxr-xr-x | qa/rpc-tests/segwit.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qa/rpc-tests/segwit.py b/qa/rpc-tests/segwit.py index 097e119f32..da82b09901 100755 --- a/qa/rpc-tests/segwit.py +++ b/qa/rpc-tests/segwit.py @@ -76,9 +76,10 @@ def find_unspent(node, min_value): class SegWitTest(BitcoinTestFramework): - def setup_chain(self): - print("Initializing test directory "+self.options.tmpdir) - initialize_chain_clean(self.options.tmpdir, 3) + def __init__(self): + super().__init__() + self.setup_clean_chain = True + self.num_nodes = 3 def setup_network(self): self.nodes = [] |