Commit bb3aff1e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 59ba036f
...@@ -93,7 +93,6 @@ on() { ...@@ -93,7 +93,6 @@ on() {
ssh $host "bash -c \"test -e $path/deployed || { echo 1>&2 '$url not yet deployed'; exit 1; } ssh $host "bash -c \"test -e $path/deployed || { echo 1>&2 '$url not yet deployed'; exit 1; }
cd $path cd $path
. env.sh . env.sh
set -x
cd src/lab.nexedi.com/kirr/neo/go/neo/t cd src/lab.nexedi.com/kirr/neo/go/neo/t
$@ $@
\"" \""
...@@ -439,9 +438,9 @@ bench_go() { ...@@ -439,9 +438,9 @@ bench_go() {
# command: benchmark when client and storage are on the same computer # command: benchmark when client and storage are on the same computer
cmd_bench_local() { cmd_bench_local() {
# XXX print it is 'bench-local' echo -e ">>> bench-local"
install_trap
header header
install_trap
gen_data gen_data
echo -e "\n*** FileStorage" echo -e "\n*** FileStorage"
...@@ -488,9 +487,14 @@ cmd_bench_cluster() { ...@@ -488,9 +487,14 @@ cmd_bench_cluster() {
url=$1 url=$1
test -z "$url" && die "Usage: neotest bench-cluster [user@]<host>:<path>" test -z "$url" && die "Usage: neotest bench-cluster [user@]<host>:<path>"
# XXX print it is 'bench-cluster' echo -e ">>> bench-cluster $url"
install_trap echo -e "\n# server:"
header header
echo -e "\n# client:"
on $url ./neotest info-local
echo
install_trap
gen_data gen_data
on $url ./neotest info-local on $url ./neotest info-local
...@@ -522,7 +526,7 @@ cmd_bench_cluster() { ...@@ -522,7 +526,7 @@ cmd_bench_cluster() {
echo -e "\n*** NEO/go (sha1 disabled)" echo -e "\n*** NEO/go (sha1 disabled)"
X_NEOGO_SHA1_SKIP=y NEOgo X_NEOGO_SHA1_SKIP=y NEOgo
on $url X_NEOGO_SHA1_SKIP=y ./neotest run-client-go --goonly neo://$cluster@$Mbind on $url X_NEOGO_SHA1_SKIP=y ./neotest run-client --goonly neo://$cluster@$Mbind
xneoctl set cluster stopping xneoctl set cluster stopping
wait wait
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment