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
4f42d773
Commit
4f42d773
authored
7 years ago
by
Rick Carback
Browse files
Options
Downloads
Patches
Plain Diff
Add UDB to testing path
parent
65ffe074
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
basice2e/clients.goldoutput/client6.out
+6
-0
6 additions, 0 deletions
basice2e/clients.goldoutput/client6.out
basice2e/registration-commands.txt
+3
-0
3 additions, 0 deletions
basice2e/registration-commands.txt
basice2e/run.sh
+14
-4
14 additions, 4 deletions
basice2e/run.sh
with
23 additions
and
4 deletions
basice2e/clients.goldoutput/client6.out
0 → 100644
+
6
−
0
View file @
4f42d773
Sending Message to 13, : PUSHKEY testkeyid 0 PQc4L1rz532d0TM7pjzn76w/VPbnpGM9cQqASqV21iEj5Ioi2E0GbsIY3TNKk92chm8uDplIufqFhWrxYIDMtv8nFY4zcElX8d5MdkIHn9VeoKm1v2O7VfjO2nTHCMSho/2ElHHxsmW3k6lNlTa4jMabnOCWWyRsJkHghZzmpdk=
Message from 13, Received: PUSHKEY ACK NEED 128
Sending Message to 13, : PUSHKEY testkeyid 128 95EywPjbzEf0k2Zjd9uXk3YrXjnxXKMulznM16YQaEF7pFwKPqmc0UQm+CSXm0JbmeZeOihb1otHvWAI9TbnIlJ8r22Jd1H36nAQ2CgDZD0t8Cy49kC1ACPRJW82sUh2WNhRVPdR9dtH48dDU5OW4ZWb209mBqQ4QPvSEzn/UOk=
Message from 13, Received: PUSHKEY COMPLETE Mb97kxMHVqi4Jx13rsZiiuH/V5TKlCzWKdXbWwKfDVE=
Sending Message to 13, : REGISTER EMAIL jake@privategrity.com Mb97kxMHVqi4Jx13rsZiiuH/V5TKlCzWKdXbWwKfDVE=
Message from 13, Received: REGISTRATION COMPLETE
This diff is collapsed.
Click to expand it.
basice2e/registration-commands.txt
0 → 100644
+
3
−
0
View file @
4f42d773
PUSHKEY testkeyid 0 PQc4L1rz532d0TM7pjzn76w/VPbnpGM9cQqASqV21iEj5Ioi2E0GbsIY3TNKk92chm8uDplIufqFhWrxYIDMtv8nFY4zcElX8d5MdkIHn9VeoKm1v2O7VfjO2nTHCMSho/2ElHHxsmW3k6lNlTa4jMabnOCWWyRsJkHghZzmpdk=
PUSHKEY testkeyid 128 95EywPjbzEf0k2Zjd9uXk3YrXjnxXKMulznM16YQaEF7pFwKPqmc0UQm+CSXm0JbmeZeOihb1otHvWAI9TbnIlJ8r22Jd1H36nAQ2CgDZD0t8Cy49kC1ACPRJW82sUh2WNhRVPdR9dtH48dDU5OW4ZWb209mBqQ4QPvSEzn/UOk=
REGISTER EMAIL jake@privategrity.com Mb97kxMHVqi4Jx13rsZiiuH/V5TKlCzWKdXbWwKfDVE=
This diff is collapsed.
Click to expand it.
basice2e/run.sh
+
14
−
4
View file @
4f42d773
...
...
@@ -91,26 +91,36 @@ runclients() {
}
# Start a channelbot server
CHANNELCMD
=
"../bin/channelbot -v -i 31 --nick
\"
#General
\"
--numnodes 5 -s
$LASTNODE
-f blobchannel --noratchet"
eval
$CHANNELCMD
>>
$CHANNELOUT
2>&1 &
CHANNELCMD
=
"../bin/channelbot -v -i 31 --nick #General --numnodes 5 -s
$LASTNODE
-f blobchannel --noratchet"
$CHANNELCMD
>>
$CHANNELOUT
2>&1 &
PIDVAL
=
$!
echo
$PIDVAL
>>
results/serverpids
echo
"
$CHANNELCMD
--
$PIDVAL
"
# Start a user discovery bot server
UDBCMD
=
"../bin/udb --config udb.yaml"
eval
$UDBCMD
>>
$UDBOUT
2>&1 &
$UDBCMD
>>
$UDBOUT
2>&1 &
PIDVAL
=
$!
echo
$PIDVAL
>>
results/serverpids
echo
"
$UDBCMD
--
$PIDVAL
"
# Start a dummy client
DUMMYCMD
=
"../bin/client -i 35 -d 35 -s
$LASTNODE
--numnodes 5 -m
\"
dummy
\"
--nick
\"
dummy
\"
--dummyfrequency 0.5 --noratchet -f blobdummy"
eval
$DUMMYCMD
>>
$DUMMYOUT
2>&1 &
$DUMMYCMD
>>
$DUMMYOUT
2>&1 &
PIDVAL
=
$!
echo
$PIDVAL
>>
results/serverpids
echo
"
$DUMMYCMD
--
$PIDVAL
"
# Send a registration command
cat
registration-commands.txt |
while
read
LINE
do
CLIENTCMD
=
"timeout 60s ../bin/client -f blob6 --numnodes 5 -s
$LASTNODE
-i 6 -d 13 -m
\"
$LINE
\"
--nick Jake --noratchet"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client6.out 2>&1 &
PIDVAL
=
$!
echo
"
$CLIENTCMD
--
$PIDVAL
"
wait
$PIDVAL
done
# Send a channel message that all clients will receive
CLIENTCMD
=
"timeout 60s ../bin/client -f blob5 --numnodes 5 -s
$LASTNODE
-i 5 -d 31 -m
\"
Channel, Hello
\"
--nick Spencer --noratchet"
eval
$CLIENTCMD
>>
$CLIENTOUT
/client5.out 2>&1 &
...
...
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