Skip to content
Snippets Groups Projects
Commit 65ffe074 authored by Rick Carback's avatar Rick Carback
Browse files

Download and run the udb binary

parent a7074db0
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ SERVERLOGS=results/servers ...@@ -11,6 +11,7 @@ SERVERLOGS=results/servers
CLIENTOUT=results/clients CLIENTOUT=results/clients
CHANNELOUT=results/channelbot.console CHANNELOUT=results/channelbot.console
DUMMYOUT=results/dummy.console DUMMYOUT=results/dummy.console
UDBOUT=results/udb.console
mkdir -p $SERVERLOGS mkdir -p $SERVERLOGS
mkdir -p $CLIENTOUT mkdir -p $CLIENTOUT
...@@ -96,6 +97,13 @@ PIDVAL=$! ...@@ -96,6 +97,13 @@ PIDVAL=$!
echo $PIDVAL >> results/serverpids echo $PIDVAL >> results/serverpids
echo "$CHANNELCMD -- $PIDVAL" echo "$CHANNELCMD -- $PIDVAL"
# Start a user discovery bot server
UDBCMD="../bin/udb --config udb.yaml"
eval $UDBCMD >> $UDBOUT 2>&1 &
PIDVAL=$!
echo $PIDVAL >> results/serverpids
echo "$UDBCMD -- $PIDVAL"
# Start a dummy client # 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" 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 & eval $DUMMYCMD >> $DUMMYOUT 2>&1 &
......
# UDB Config for E2E Integration test
logPath: "logfile.log"
numNodes: 5
serverAddr: "localhost:50004"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment