diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-10-03 10:12:28 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-10-03 10:12:42 +0200 |
commit | 76f3c02fb01a6df98fbd8c16ac21d159d4649d37 (patch) | |
tree | b29ab0e61beb75a9204d59777fe13a89dcfcf47c /qa/rpc-tests/p2p-versionbits-warning.py | |
parent | eafc5f4fae52a16ad7343f7fb13bfecf9b62310a (diff) | |
parent | fa7c35c4ec630838178b4674288da33561a66f08 (diff) | |
download | bitcoin-76f3c02fb01a6df98fbd8c16ac21d159d4649d37.tar.xz |
Merge #8860: [qa] util: Move wait_bitcoinds() into stop_nodes()
fa7c35c [qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/p2p-versionbits-warning.py')
-rwxr-xr-x | qa/rpc-tests/p2p-versionbits-warning.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qa/rpc-tests/p2p-versionbits-warning.py b/qa/rpc-tests/p2p-versionbits-warning.py index cceaa37b3d..fc3eddddee 100755 --- a/qa/rpc-tests/p2p-versionbits-warning.py +++ b/qa/rpc-tests/p2p-versionbits-warning.py @@ -144,8 +144,7 @@ class VersionBitsWarningTest(BitcoinTestFramework): # is cleared, and restart the node. This should move the versionbit state # to ACTIVE. self.nodes[0].generate(VB_PERIOD) - stop_node(self.nodes[0], 0) - wait_bitcoinds() + stop_nodes(self.nodes) # Empty out the alert file with open(self.alert_filename, 'w', encoding='utf8') as _: pass @@ -156,8 +155,7 @@ class VersionBitsWarningTest(BitcoinTestFramework): assert(WARN_UNKNOWN_RULES_ACTIVE in self.nodes[0].getinfo()["errors"]) assert(WARN_UNKNOWN_RULES_ACTIVE in self.nodes[0].getmininginfo()["errors"]) assert(WARN_UNKNOWN_RULES_ACTIVE in self.nodes[0].getnetworkinfo()["warnings"]) - stop_node(self.nodes[0], 0) - wait_bitcoinds() + stop_nodes(self.nodes) self.test_versionbits_in_alert_file() # Test framework expects the node to still be running... |