From 0387c1a6e41a21d4cc9774846ddd415443c73de9 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Tue, 10 May 2016 11:47:31 -0400 Subject: [PATCH] test: increase timeout for cluster test and decrease keypool resolves issues when the keypool takes time to fill --- regtest/cluster.js | 2 +- regtest/data/node1/bitcoin.conf | 1 + regtest/data/node2/bitcoin.conf | 1 + regtest/data/node3/bitcoin.conf | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/regtest/cluster.js b/regtest/cluster.js index 51a6e573..ddeb7429 100644 --- a/regtest/cluster.js +++ b/regtest/cluster.js @@ -52,7 +52,7 @@ describe('Bitcoin Cluster', function() { before(function(done) { log.info('Starting 3 bitcoind daemons'); - this.timeout(20000); + this.timeout(60000); async.each(nodesConf, function(nodeConf, next) { var opts = [ '--regtest', diff --git a/regtest/data/node1/bitcoin.conf b/regtest/data/node1/bitcoin.conf index 19bbf70a..54ed2aec 100644 --- a/regtest/data/node1/bitcoin.conf +++ b/regtest/data/node1/bitcoin.conf @@ -13,3 +13,4 @@ zmqpubhashblock=tcp://127.0.0.1:30611 rpcallowip=127.0.0.1 rpcuser=bitcoin rpcpassword=local321 +keypool=3 diff --git a/regtest/data/node2/bitcoin.conf b/regtest/data/node2/bitcoin.conf index 9e08fe9a..bcd09fe6 100644 --- a/regtest/data/node2/bitcoin.conf +++ b/regtest/data/node2/bitcoin.conf @@ -13,3 +13,4 @@ zmqpubhashblock=tcp://127.0.0.1:30622 rpcallowip=127.0.0.1 rpcuser=bitcoin rpcpassword=local321 +keypool=3 diff --git a/regtest/data/node3/bitcoin.conf b/regtest/data/node3/bitcoin.conf index 954b0892..8be13ef3 100644 --- a/regtest/data/node3/bitcoin.conf +++ b/regtest/data/node3/bitcoin.conf @@ -13,3 +13,4 @@ zmqpubhashblock=tcp://127.0.0.1:30633 rpcallowip=127.0.0.1 rpcuser=bitcoin rpcpassword=local321 +keypool=3