improve localnet-sanity's robustness (#1160)
* fix poll_gossip_for_leader() loop to actually wait for 30 seconds * reduce reuseaddr use to only when necessary, try to avoid already bound sockets * move nat.rs to netutil.rs * add gossip tracing to thin_client and bench-tps
This commit is contained in:
@ -69,8 +69,8 @@ echo "--- Wallet sanity"
|
||||
|
||||
echo "--- Node count"
|
||||
(
|
||||
set -x
|
||||
source multinode-demo/common.sh
|
||||
set -x
|
||||
client_id=/tmp/client-id.json-$$
|
||||
$solana_keygen -o $client_id
|
||||
$solana_bench_tps --identity $client_id --num-nodes 3 --converge-only
|
||||
@ -81,8 +81,8 @@ killBackgroundCommands
|
||||
|
||||
echo "--- Ledger verification"
|
||||
(
|
||||
set -x
|
||||
source multinode-demo/common.sh
|
||||
set -x
|
||||
cp -R "$SOLANA_CONFIG_DIR"/ledger /tmp/ledger-$$
|
||||
$solana_ledger_tool --ledger /tmp/ledger-$$ verify
|
||||
rm -rf /tmp/ledger-$$
|
||||
|
Reference in New Issue
Block a user