Reorder sanity.

1. Check for presence of nodes
2. Check for functioning RPC API
3. Then try the wallet
This commit is contained in:
Michael Vines
2019-01-09 12:39:27 -07:00
committed by Grimes
parent 77794eebdb
commit 639bed2f6d
2 changed files with 21 additions and 22 deletions

View File

@@ -62,12 +62,6 @@ flag_error() {
exit 1
}
echo "--- Wallet sanity"
(
set -x
timeout 60s scripts/wallet-sanity.sh
) || flag_error
echo "--- Node count"
(
source multinode-demo/common.sh
@@ -91,6 +85,12 @@ echo "--- RPC API: getTransactionCount"
http://localhost:8899
) || flag_error
echo "--- Wallet sanity"
(
set -x
timeout 60s scripts/wallet-sanity.sh
) || flag_error
killBackgroundCommands
echo "--- Ledger verification"