mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
test.sh: increase timeout, slow down bitcoind polling.
My temporary machine is incredibly slow. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
a1f1f1eda8
commit
44282eed16
@ -221,13 +221,13 @@ check()
|
||||
while ! eval "$@"; do
|
||||
# Try making time pass for the nodes (if on mocktime), then sleeping.
|
||||
if [ -n "$MOCKTIME" ]; then
|
||||
MOCKTIME=$(($MOCKTIME + 1))
|
||||
MOCKTIME=$(($MOCKTIME + 5))
|
||||
lcli1 dev-mocktime $MOCKTIME
|
||||
lcli2 dev-mocktime $MOCKTIME
|
||||
fi
|
||||
sleep 1
|
||||
i=$(($i + 1))
|
||||
if [ $i = 20 ]; then
|
||||
if [ $i = 30 ]; then
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
@ -367,7 +367,7 @@ cat > $DIR1/config <<EOF
|
||||
disable-irc
|
||||
log-level=debug
|
||||
bitcoind-regtest
|
||||
bitcoind-poll=1s
|
||||
bitcoind-poll=5s
|
||||
deadline-blocks=5
|
||||
min-htlc-expiry=6
|
||||
bitcoin-datadir=$DATADIR
|
||||
@ -379,7 +379,7 @@ cat > $DIR2/config <<EOF
|
||||
disable-irc
|
||||
bitcoind-regtest
|
||||
log-level=debug
|
||||
bitcoind-poll=1s
|
||||
bitcoind-poll=5s
|
||||
deadline-blocks=5
|
||||
min-htlc-expiry=6
|
||||
bitcoin-datadir=$DATADIR
|
||||
|
Loading…
Reference in New Issue
Block a user