Groom testnet-sanity logging
This commit is contained in:
parent
1090254ba5
commit
0d945e6a92
|
@ -25,8 +25,10 @@ netName=$1
|
||||||
[[ -n $netName ]] || usage ""
|
[[ -n $netName ]] || usage ""
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
echo --- gce.sh config
|
||||||
net/gce.sh config -p "$netName"
|
net/gce.sh config -p "$netName"
|
||||||
net/init-metrics.sh -e
|
net/init-metrics.sh -e
|
||||||
|
echo --- net.sh sanity
|
||||||
net/net.sh sanity ${NO_LEDGER_VERIFY:+-o noLedgerVerify}
|
net/net.sh sanity ${NO_LEDGER_VERIFY:+-o noLedgerVerify}
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -92,8 +92,9 @@ if $ledgerVerify; then
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
rm -rf /var/tmp/ledger-verify
|
rm -rf /var/tmp/ledger-verify
|
||||||
cp -r $ledger /var/tmp/ledger-verify
|
du -hs "$ledger"
|
||||||
$solana_ledger_tool --ledger /var/tmp/ledger-verify verify
|
time cp -r "$ledger" /var/tmp/ledger-verify
|
||||||
|
time $solana_ledger_tool --ledger /var/tmp/ledger-verify verify
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
echo "^^^ +++"
|
echo "^^^ +++"
|
||||||
|
|
Loading…
Reference in New Issue