diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-05-24 07:00:54 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-05-24 07:01:03 -0400 |
commit | 63b9efa73d6bec280241fe0fa06abf7e5b4dde8d (patch) | |
tree | 5f63621c606bf6c905cc73c601715856379cfa7b /test/functional/test_framework/util.py | |
parent | 854ffcae807ddc9b15710eb478bed989a37e1756 (diff) | |
parent | fa473303972b7dad600d949dc9b303d8136cb7e7 (diff) | |
download | bitcoin-63b9efa73d6bec280241fe0fa06abf7e5b4dde8d.tar.xz |
Merge #16042: test: Bump MAX_NODES to 12
fa47330397 test: Speed up cache creation (MarcoFalke)
fa6ad7a5ec test: Bump MAX_NODES to 12 (MarcoFalke)
Pull request description:
When testing a combination of settings that affect the datadir (e.g. prune, blockfilter, ...) we may need a lot of datadirs.
Bump the maximum number of nodes proactively from 8 to 12, so that caches get populated with 12 node dirs, as opposed to 8.
Also, add an assert that the list of deterministic keys is exactly the number of max nodes (and not more than that.
Also, create the cache faster.
ACKs for commit fa4733:
laanwj:
utACK fa473303972b7dad600d949dc9b303d8136cb7e7
Tree-SHA512: 9803c765ed52d344102f5a3bce57b05d88a7429dcb05ed66ed6c881fda8d87c2834d02d21b95fe9f39c0efe3b8527e13cf94f006588cde22e8c2cd50b2d517a6
Diffstat (limited to 'test/functional/test_framework/util.py')
-rw-r--r-- | test/functional/test_framework/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py index 0583b42388..26215083fb 100644 --- a/test/functional/test_framework/util.py +++ b/test/functional/test_framework/util.py @@ -228,7 +228,7 @@ def wait_until(predicate, *, attempts=float('inf'), timeout=float('inf'), lock=N ############################################ # The maximum number of nodes a single test can spawn -MAX_NODES = 8 +MAX_NODES = 12 # Don't assign rpc or p2p ports lower than this PORT_MIN = 11000 # The number of ports to "reserve" for p2p and rpc, each |