aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mempool_accept.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-02-11 13:56:19 -0500
committerMarcoFalke <falke.marco@gmail.com>2019-02-19 14:22:13 -0500
commit1111aecbb58d6e37d430d477ac43f52811fd97d9 (patch)
tree2ab2e86f5155279ca30701ca1eb03b510bcf347f /test/functional/mempool_accept.py
parentfab0d858027844f602e9e6103a66d97fdacc13ab (diff)
downloadbitcoin-1111aecbb58d6e37d430d477ac43f52811fd97d9.tar.xz
qa: Always refresh stale cache to be out of ibd
Diffstat (limited to 'test/functional/mempool_accept.py')
-rwxr-xr-xtest/functional/mempool_accept.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/mempool_accept.py b/test/functional/mempool_accept.py
index e2a219b85a..efe720b9b1 100755
--- a/test/functional/mempool_accept.py
+++ b/test/functional/mempool_accept.py
@@ -29,7 +29,6 @@ from test_framework.util import (
assert_raises_rpc_error,
bytes_to_hex_str,
hex_str_to_bytes,
- wait_until,
)
@@ -38,7 +37,6 @@ class MempoolAcceptanceTest(BitcoinTestFramework):
self.num_nodes = 1
self.extra_args = [[
'-txindex',
- '-reindex', # Need reindex for txindex
'-acceptnonstdtxn=0', # Try to mimic main-net
]] * self.num_nodes
@@ -56,7 +54,7 @@ class MempoolAcceptanceTest(BitcoinTestFramework):
self.log.info('Start with empty mempool, and 200 blocks')
self.mempool_size = 0
- wait_until(lambda: node.getblockcount() == 200)
+ assert_equal(node.getblockcount(), 200)
assert_equal(node.getmempoolinfo()['size'], self.mempool_size)
coins = node.listunspent()