automerge
This commit is contained in:
@ -86,6 +86,7 @@ nodes=(
|
|||||||
--rpc-port 18899"
|
--rpc-port 18899"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if [[ extraNodes -gt 0 ]]; then
|
||||||
for i in $(seq 1 $extraNodes); do
|
for i in $(seq 1 $extraNodes); do
|
||||||
portStart=$((8100 + i * 50))
|
portStart=$((8100 + i * 50))
|
||||||
portEnd=$((portStart + 49))
|
portEnd=$((portStart + 49))
|
||||||
@ -97,6 +98,7 @@ for i in $(seq 1 $extraNodes); do
|
|||||||
--init-complete-file init-complete-node$((2 + i)).log"
|
--init-complete-file init-complete-node$((2 + i)).log"
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
numNodes=$((2 + extraNodes))
|
numNodes=$((2 + extraNodes))
|
||||||
|
|
||||||
pids=()
|
pids=()
|
||||||
@ -313,7 +315,7 @@ flag_error() {
|
|||||||
|
|
||||||
if ! $skipSetup; then
|
if ! $skipSetup; then
|
||||||
clear_config_dir "$SOLANA_CONFIG_DIR"
|
clear_config_dir "$SOLANA_CONFIG_DIR"
|
||||||
multinode-demo/setup.sh
|
multinode-demo/setup.sh --hashes-per-tick sleep
|
||||||
else
|
else
|
||||||
verifyLedger
|
verifyLedger
|
||||||
fi
|
fi
|
||||||
@ -365,7 +367,7 @@ while [[ $iteration -le $iterations ]]; do
|
|||||||
echo "--- Wallet sanity ($iteration)"
|
echo "--- Wallet sanity ($iteration)"
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
timeout 90s scripts/wallet-sanity.sh --url http://127.0.0.1"$walletRpcPort"
|
timeout 60s scripts/wallet-sanity.sh --url http://127.0.0.1"$walletRpcPort"
|
||||||
) || flag_error
|
) || flag_error
|
||||||
|
|
||||||
iteration=$((iteration + 1))
|
iteration=$((iteration + 1))
|
||||||
|
Reference in New Issue
Block a user