Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
integration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
53c15e94
Commit
53c15e94
authored
7 years ago
by
Rick Carback
Browse files
Options
Downloads
Patches
Plain Diff
Push a legit failing test, so we have repeatability
parent
95eed029
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
basice2e/run.sh
+27
-20
27 additions, 20 deletions
basice2e/run.sh
basice2e/server-5.yaml
+5
-5
5 additions, 5 deletions
basice2e/server-5.yaml
with
32 additions
and
25 deletions
basice2e/run.sh
+
27
−
20
View file @
53c15e94
...
...
@@ -6,15 +6,15 @@ set -e
mkdir
-p
results
../bin/server
-v
-i
0
--config
server-1.yaml
>
results/server-1.console 2>&1 &
SERVER1
=
$!
../bin/server
-v
-i
1
--config
server-2.yaml
>
results/server-2.console 2>&1 &
SERVER2
=
$!
../bin/server
-v
-i
2
--config
server-3.yaml
>
results/server-3.console 2>&1 &
SERVER3
=
$!
../bin/server
-v
-i
3
--config
server-4.yaml
>
results/server-4.console 2>&1 &
SERVER4
=
$!
../bin/server
-v
-i
4
--config
server-5.yaml
>
results/server-5.console 2>&1 &
#
../bin/server -v -i 0 --config server-1.yaml > results/server-1.console 2>&1 &
#
SERVER1=$!
#
../bin/server -v -i 1 --config server-2.yaml > results/server-2.console 2>&1 &
#
SERVER2=$!
#
../bin/server -v -i 2 --config server-3.yaml > results/server-3.console 2>&1 &
#
SERVER3=$!
#
../bin/server -v -i 3 --config server-4.yaml > results/server-4.console 2>&1 &
#
SERVER4=$!
../bin/server
-v
-i
0
--config
server-5.yaml
>
results/server-5.console 2>&1 &
SERVER5
=
$!
echo
"STARTED SERVERS with PIDs:"
...
...
@@ -26,16 +26,18 @@ echo $SERVER5
finish
()
{
echo
"STOPPING SERVERS..."
kill
$SERVER1
kill
$SERVER2
kill
$SERVER3
kill
$SERVER4
kill
$SERVER5
# jobs -p
# kill $SERVER1
# kill $SERVER2
# kill $SERVER3
# kill $SERVER4
kill
$SERVER5
||
true
tail
results/
*
}
trap
finish EXIT
sleep
25
# FIXME: We should not need this, but the servers don't respond quickly
sleep
10
# FIXME: We should not need this, but the servers don't respond quickly
# enough on boot right now.
LASTNODE
=
"localhost:50004"
...
...
@@ -43,16 +45,21 @@ LASTNODE="localhost:50004"
echo
"STARTING CLIENTS..."
CTR
=
0
for
cid
in
1 2 3 4
;
do
for
nid
in
1 2 3 4
;
do
# for cid in 1 2 3 4; do
# for nid in 1 2 3 4; do
for
cid
in
1
;
do
for
nid
in
1
;
do
echo
"../bin/client -s
$LASTNODE
-i
$cid
-d
$nid
-m
\"
Hello,
$nid
\"
"
../bin/client
-s
$LASTNODE
-i
$cid
-d
$nid
-m
"Hello,
$nid
"
>
results/client
$cid$nid
.out 2>&1 &
eval
CLIENTS
${
CTR
}
=
$!
RETVAL
=
$!
eval
CLIENTS
${
CTR
}
=
$RETVAL
CTR
=
$((
$CTR
+
1
))
done
done
echo
"WAITING FOR CLIENTS TO EXIT..."
for
i
in
$(
seq
0
$CTR
)
;
do
eval wait
$CLIENTS
${
i
}
eval echo
"Waiting on
\$
{CLIENTS
${
i
}
} ..."
eval wait
\$
{
CLIENTS
${
i
}
}
echo
"DONE!"
done
This diff is collapsed.
Click to expand it.
basice2e/server-5.yaml
+
5
−
5
View file @
53c15e94
logPath
:
"
results/server-5.log"
verbose
:
"
false"
batchSize
:
1
2
batchSize
:
1
servers
:
-
50000
-
50001
-
50002
-
50003
#
- 50000
#
- 50001
#
- 50002
#
- 50003
-
50004
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment