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
d211095b
Commit
d211095b
authored
6 years ago
by
Rick Carback
Browse files
Options
Downloads
Patches
Plain Diff
Update script to timeout the clients on 10s and to force a CDE on the 4th cMix server
parent
e0d5ade8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
basice2e/run.sh
+4
-1
4 additions, 1 deletion
basice2e/run.sh
with
4 additions
and
1 deletion
basice2e/run.sh
+
4
−
1
View file @
d211095b
...
...
@@ -19,6 +19,9 @@ for SERVERID in $(seq 1 5)
do
IDX
=
$((
$SERVERID
-
1
))
SERVERCMD
=
"../bin/server -v -i
$IDX
--config server-
$SERVERID
.yaml"
if
[
$SERVERID
-eq
4
]
;
then
sleep
15
# This will force a CDE timeout
fi
$SERVERCMD
>
$SERVERLOGS
/server-
$SERVERID
.console 2>&1 &
RETVAL
=
$!
echo
"
$SERVERCMD
--
$RETVAL
"
...
...
@@ -64,7 +67,7 @@ runclients() {
do
nid
=
$((
(
$cid
%
4
)
+
1
))
eval
NICK
=
\$
{
NICK
${
cid
}
}
CLIENTCMD
=
"../bin/client -f blob
$cid$nid
--numnodes 5 -s
$LASTNODE
-i
$cid
-d
$nid
-m
\"
Hello,
$nid
\"
--nick
$NICK
"
CLIENTCMD
=
"
timeout 10s
../bin/client -f blob
$cid$nid
--numnodes 5 -s
$LASTNODE
-i
$cid
-d
$nid
-m
\"
Hello,
$nid
\"
--nick
$NICK
"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client
$cid$nid
.out 2>&1 &
RETVAL
=
$!
eval
CLIENTS
${
CTR
}
=
$RETVAL
...
...
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