Skip to content
Snippets Groups Projects
Commit ebacbe03 authored by Spencer Brown's avatar Spencer Brown
Browse files

Reinstate UDB into the integration test

parent 67cd4088
No related branches found
No related tags found
No related merge requests found
UDB registration successful.
UDB search successful. Returned user 6, public key "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00this is not a real public key"
PUSHKEY testkeyid 0 PQc4L1rz532d0TM7pjzn76w/VPbnpGM9cQqASqV21iEj5Ioi2E0GbsIY3TNKk92chm8uDplIufqFhWrxYIDMtv8nFY4zcElX8d5MdkIHn9VeoKm1v2O7VfjO2nTHCMSho/2ElHHxsmW3k6lNlTa4jMabnOCWWyRsJkHghZzmpdk=
PUSHKEY testkeyid 128 95EywPjbzEf0k2Zjd9uXk3YrXjnxXKMulznM16YQaEF7pFwKPqmc0UQm+CSXm0JbmeZeOihb1otHvWAI9TbnIlJ8r22Jd1H36nAQ2CgDZD0t8Cy49kC1ACPRJW82sUh2WNhRVPdR9dtH48dDU5OW4ZWb209mBqQ4QPvSEzn/UOk=
REGISTER EMAIL jake@privategrity.com Mb97kxMHVqi4Jx13rsZiiuH/V5TKlCzWKdXbWwKfDVE=
SEARCH EMAIL jake@privategrity.com
REGISTER EMAIL jake@elixxir.io
SEARCH EMAIL jake@elixxir.io
......@@ -94,7 +94,7 @@ echo $PIDVAL >> results/serverpids
echo "$CHANNELCMD -- $PIDVAL"
# Start a user discovery bot server
UDBCMD="../bin/udb --config udb.yaml"
UDBCMD="../bin/udb -v --config udb.yaml"
$UDBCMD >> $UDBOUT 2>&1 &
PIDVAL=$!
echo $PIDVAL >> results/serverpids
......@@ -108,21 +108,21 @@ echo $PIDVAL >> results/serverpids
echo "$DUMMYCMD -- $PIDVAL"
# Start a gateway
GATEWAYCMD="../bin/gateway --config gateway.yaml"
GATEWAYCMD="../bin/gateway -v --config gateway.yaml"
$GATEWAYCMD >> $GATEWAYOUT 2>&1 &
PIDVAL=$!
echo $PIDVAL >> results/serverpids
echo "$GATEWAYCMD -- $PIDVAL"
# Send a registration command
#cat registration-commands.txt | while read LINE
#do
# CLIENTCMD="timeout 240s ../bin/client -f blob6 --numnodes 5 -g $GATEWAY -i 6 -d 13 -m \"$LINE\""
# eval $CLIENTCMD >> $CLIENTOUT/client6.out 2>&1 &
# PIDVAL=$!
# echo "$CLIENTCMD -- $PIDVAL"
# wait $PIDVAL
#done
cat registration-commands.txt | while read LINE
do
CLIENTCMD="timeout 240s ../bin/client -f blob6 --numnodes 5 -g $GATEWAY -i 6 -d 13 -m \"$LINE\""
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 240s ../bin/client -f blob5 --numnodes 5 -g $GATEWAY -i 5 -d 31 -m \"Channel, Hello\""
......
......@@ -11,4 +11,4 @@ popd
# View result logs
# Not using $EDITOR or $VISUAL because many editors that people set those to
# don't have as easy support for viewing multiple files
${INTEGRATION_EDITOR:-gedit} ./basice2e/results/clients/*.out ./basice2e/results/servers/*.console ./basice2e/results/gateway.log ./basice2e/results/channelbot.console&
${INTEGRATION_EDITOR:-gedit} ./basice2e/results/clients/*.out ./basice2e/results/servers/*.console ./basice2e/results/*.log ./basice2e/results/*.console&
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment