Permalink
Browse files

Merge #8041: [qa] Fix bip9-softforks blockstore issue

fad60b3 [qa] Fix bip9-softforks blockstore issue (MarcoFalke)
  • Loading branch information...
laanwj committed May 12, 2016
2 parents 69b3a6d + fad60b3 commit 5b736ddaa1c1c6ca75412caa89b6b5569dd9601e
Showing with 3 additions and 0 deletions.
  1. +3 −0 qa/rpc-tests/bip9-softforks.py
@@ -3,6 +3,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from test_framework.blockstore import BlockStore
from test_framework.test_framework import ComparisonTestFramework
from test_framework.util import *
from test_framework.mininode import CTransaction, NetworkThread
@@ -167,11 +168,13 @@ def test_BIP(self, bipName, activated_version, invalidate, invalidatePostSignatu
yield TestInstance([[block, False]])
# Restart all
self.test.block_store.close()
stop_nodes(self.nodes)
wait_bitcoinds()
shutil.rmtree(self.options.tmpdir)
self.setup_chain()
self.setup_network()
self.test.block_store = BlockStore(self.options.tmpdir)
self.test.clear_all_connections()
self.test.add_all_connections(self.nodes)
NetworkThread().start() # Start up network handling in another thread

0 comments on commit 5b736dd

Please sign in to comment.