diff options
| author | Ben Woosley <[email protected]> | 2018-02-22 13:30:47 -0800 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-02-22 13:30:50 -0800 |
| commit | 55f89da1a5048cf275c37bceef664e7c04831a35 (patch) | |
| tree | 4564212425977f58d20441436914330cab039dc8 | |
| parent | Merge #12451: Bump leveldb subtree (diff) | |
| download | discoin-55f89da1a5048cf275c37bceef664e7c04831a35.tar.xz discoin-55f89da1a5048cf275c37bceef664e7c04831a35.zip | |
Don't test against the mempool min fee information in mempool_limit.py
Because the right-hand side of this comparison can be influenced
externally, e.g. via the -maxmempool argument, the existing mempool state,
host memory usage, etc.
| -rwxr-xr-x | test/functional/mempool_limit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/mempool_limit.py b/test/functional/mempool_limit.py index 47f7efd3e..5382fe439 100755 --- a/test/functional/mempool_limit.py +++ b/test/functional/mempool_limit.py @@ -58,7 +58,7 @@ class MempoolLimitTest(BitcoinTestFramework): # specifically fund this tx with a fee < mempoolminfee, >= than minrelaytxfee txF = self.nodes[0].fundrawtransaction(tx, {'feeRate': relayfee}) txFS = self.nodes[0].signrawtransactionwithwallet(txF['hex']) - assert_raises_rpc_error(-26, "mempool min fee not met, 166 < 411 (code 66)", self.nodes[0].sendrawtransaction, txFS['hex']) + assert_raises_rpc_error(-26, "mempool min fee not met", self.nodes[0].sendrawtransaction, txFS['hex']) if __name__ == '__main__': MempoolLimitTest().main() |