mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
test.sh: remove scary-looking output from 'make check'
NO_VALGRIND= daemon/test/test.sh --normal --restart lightning-cli: Connecting to 'lightning-rpc': Connection refused lightning-cli: Connecting to 'lightning-rpc': Connection refused lightning-cli: Connecting to 'lightning-rpc': Connection refused lightning-cli: Connecting to 'lightning-rpc': Connection refused lightning-cli: Connecting to 'lightning-rpc': Connection refused This is expected: it happens when node3 is restarting. Redirect errors to /dev/null. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
453c768b12
commit
831558d884
@ -1052,7 +1052,7 @@ if [ ! -n "$MANUALCOMMIT" ]; then
|
|||||||
# If restarting, make sure node3 remembers incoming payment.
|
# If restarting, make sure node3 remembers incoming payment.
|
||||||
if [ "$RECONNECT" = restart ]; then
|
if [ "$RECONNECT" = restart ]; then
|
||||||
$LCLI3 -- dev-restart $LIGHTNINGD3 >/dev/null 2>&1 || true
|
$LCLI3 -- dev-restart $LIGHTNINGD3 >/dev/null 2>&1 || true
|
||||||
if ! check "$LCLI3 getpeers | tr -s '\012\011\" ' ' ' | fgrep -q 'connected : true'"; then
|
if ! check "$LCLI3 getpeers 2>/dev/null | tr -s '\012\011\" ' ' ' | fgrep -q 'connected : true'"; then
|
||||||
echo "Failed to reconnect!">&2
|
echo "Failed to reconnect!">&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user