aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-08-27 09:05:14 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-08-27 11:41:40 +0200
commitfacb41bf1d1b7ee552c627f9829b4494b817ce28 (patch)
tree5d221fb05df1657bd21264f127f04883832fd38c /test/functional
parent28f4e53e168fe09b3ed9b811f12e1f990a304264 (diff)
test: Remove unused p2p_lock in VersionBitsWarningTest
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/feature_versionbits_warning.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/feature_versionbits_warning.py b/test/functional/feature_versionbits_warning.py
index e045adac32..e1016e1581 100755
--- a/test/functional/feature_versionbits_warning.py
+++ b/test/functional/feature_versionbits_warning.py
@@ -12,7 +12,7 @@ import re
from test_framework.blocktools import create_block, create_coinbase
from test_framework.messages import msg_block
-from test_framework.p2p import p2p_lock, P2PInterface
+from test_framework.p2p import P2PInterface
from test_framework.test_framework import BitcoinTestFramework
VB_PERIOD = 144 # versionbits period length for regtest
@@ -90,7 +90,7 @@ class VersionBitsWarningTest(BitcoinTestFramework):
# Generating one block guarantees that we'll get out of IBD
node.generatetoaddress(1, node_deterministic_address)
- self.wait_until(lambda: not node.getblockchaininfo()['initialblockdownload'], timeout=10, lock=p2p_lock)
+ self.wait_until(lambda: not node.getblockchaininfo()['initialblockdownload'])
# Generating one more block will be enough to generate an error.
node.generatetoaddress(1, node_deterministic_address)
# Check that get*info() shows the versionbits unknown rules warning