diff options
| author | Christopher Coverdale <[email protected]> | 2020-06-21 23:32:32 +0100 |
|---|---|---|
| committer | Christopher Coverdale <[email protected]> | 2020-06-22 12:58:14 +0100 |
| commit | 20b6e959449d0c07639599b99ba917d2cac62493 (patch) | |
| tree | 021837bfa0fa9ccc43a70181306bd6af8ce7f121 /test/functional/feature_loadblock.py | |
| parent | Merge #19198: test: Check that peers with forcerelay permission are not asked... (diff) | |
| download | discoin-20b6e959449d0c07639599b99ba917d2cac62493.tar.xz discoin-20b6e959449d0c07639599b99ba917d2cac62493.zip | |
test: refactor functional tests to use restart_node
Diffstat (limited to 'test/functional/feature_loadblock.py')
| -rwxr-xr-x | test/functional/feature_loadblock.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/feature_loadblock.py b/test/functional/feature_loadblock.py index 82f133168..0a457ca17 100755 --- a/test/functional/feature_loadblock.py +++ b/test/functional/feature_loadblock.py @@ -71,8 +71,7 @@ class LoadblockTest(BitcoinTestFramework): check=True) self.log.info("Restart second, unsynced node with bootstrap file") - self.stop_node(1) - self.start_node(1, ["-loadblock=" + bootstrap_file]) + self.restart_node(1, extra_args=["-loadblock=" + bootstrap_file]) assert_equal(self.nodes[1].getblockcount(), 100) # start_node is blocking on all block files being imported assert_equal(self.nodes[1].getblockchaininfo()['blocks'], 100) |