Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
bb3aff1e
Commit
bb3aff1e
authored
Sep 18, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
59ba036f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
go/neo/t/neotest
go/neo/t/neotest
+10
-6
No files found.
go/neo/t/neotest
View file @
bb3aff1e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment