fix client_start to deal with new client.sh
This commit is contained in:
parent
8b248dcf09
commit
fbc7c9c431
|
@ -277,7 +277,7 @@ client_start() {
|
||||||
set -x; \
|
set -x; \
|
||||||
sudo rm /tmp/solana.log; \
|
sudo rm /tmp/solana.log; \
|
||||||
while : ; do \
|
while : ; do \
|
||||||
/snap/bin/solana.bench-tps $SOLANA_NET_ENTRYPOINT $fullnode_count --loop -s 600 --sustained -t \$threadCount 2>&1 | tee -a /tmp/solana.log; \
|
/snap/bin/solana.bench-tps --num-nodes $fullnode_count --seconds 600 --sustained --threads \$threadCount 2>&1 | tee -a /tmp/solana.log; \
|
||||||
echo 'https://metrics.solana.com:8086/write?db=${INFLUX_DATABASE}&u=${INFLUX_USERNAME}&p=${INFLUX_PASSWORD}' \
|
echo 'https://metrics.solana.com:8086/write?db=${INFLUX_DATABASE}&u=${INFLUX_USERNAME}&p=${INFLUX_PASSWORD}' \
|
||||||
| xargs curl --max-time 5 -XPOST --data-binary 'testnet-deploy,name=$netBasename clientexit=1'; \
|
| xargs curl --max-time 5 -XPOST --data-binary 'testnet-deploy,name=$netBasename clientexit=1'; \
|
||||||
echo Error: bench-tps should never exit | tee -a /tmp/solana.log; \
|
echo Error: bench-tps should never exit | tee -a /tmp/solana.log; \
|
||||||
|
|
Loading…
Reference in New Issue