aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-06-22 19:43:02 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-06-22 19:42:51 +0200
commitfadddd13eef4428f5fa7237583d4be41a9335cd9 (patch)
tree91e8c15b11f853454289576e8b1176ca07d0387a /test/functional
parentfaa211fc6e3d4984b8edff1d762dd4cba205d982 (diff)
downloadbitcoin-fadddd13eef4428f5fa7237583d4be41a9335cd9.tar.xz
test: Add missing syncwithvalidationinterfacequeue
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/p2p_blockfilters.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/p2p_blockfilters.py b/test/functional/p2p_blockfilters.py
index 47ee7add75..63fc2a98d4 100755
--- a/test/functional/p2p_blockfilters.py
+++ b/test/functional/p2p_blockfilters.py
@@ -63,6 +63,7 @@ class CompactFiltersTest(BitcoinTestFramework):
self.disconnect_nodes(0, 1)
stale_block_hash = self.nodes[0].generate(1)[0]
+ self.nodes[0].syncwithvalidationinterfacequeue()
assert_equal(self.nodes[0].getblockcount(), 1000)
self.nodes[1].generate(1001)
@@ -90,6 +91,7 @@ class CompactFiltersTest(BitcoinTestFramework):
self.log.info("Reorg node 0 to a new chain.")
self.connect_nodes(0, 1)
self.sync_blocks(timeout=600)
+ self.nodes[0].syncwithvalidationinterfacequeue()
main_block_hash = self.nodes[0].getblockhash(1000)
assert main_block_hash != stale_block_hash, "node 0 chain did not reorganize"