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

fix gateway configuration. This test still fails because the clients keep...

fix gateway configuration. This test still fails because the clients keep retrieving their first message, not their last message, from the gateway. Will fix tomorrow
parent b32e9f59
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ echo $PIDVAL >> results/serverpids ...@@ -101,7 +101,7 @@ echo $PIDVAL >> results/serverpids
echo "$UDBCMD -- $PIDVAL" echo "$UDBCMD -- $PIDVAL"
# Start a dummy client # Start a dummy client
DUMMYCMD="../bin/client -i 35 -d 35 -g $GATEWAY --numnodes 5 -m \"dummy\" --dummyfrequency 3 --noratchet -f blobdummy" DUMMYCMD="../bin/client -i 35 -d 35 -g $GATEWAY --numnodes 5 -m \"dummy\" --dummyfrequency 0.5 --noratchet -f blobdummy"
$DUMMYCMD >> $DUMMYOUT 2>&1 & $DUMMYCMD >> $DUMMYOUT 2>&1 &
PIDVAL=$! PIDVAL=$!
echo $PIDVAL >> results/serverpids echo $PIDVAL >> results/serverpids
...@@ -124,13 +124,6 @@ do ...@@ -124,13 +124,6 @@ do
wait $PIDVAL wait $PIDVAL
done 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\" --noratchet"
eval $CLIENTCMD >> $CLIENTOUT/client5.out 2>&1 &
PIDVAL=$!
echo "$CLIENTCMD -- $PIDVAL"
wait $PIDVAL
sleep 10 # Spend some time waiting for the channel bot to send messages sleep 10 # Spend some time waiting for the channel bot to send messages
echo "RUNNING CLIENTS..." echo "RUNNING CLIENTS..."
......
...@@ -16,3 +16,5 @@ servers: ...@@ -16,3 +16,5 @@ servers:
- localhost:50002 - localhost:50002
- localhost:50003 - localhost:50003
- localhost:50004 - localhost:50004
gateways:
- "localhost:8443"
...@@ -16,3 +16,5 @@ servers: ...@@ -16,3 +16,5 @@ servers:
- localhost:50002 - localhost:50002
- localhost:50003 - localhost:50003
- localhost:50004 - localhost:50004
gateways:
- "localhost:8443"
...@@ -16,3 +16,5 @@ servers: ...@@ -16,3 +16,5 @@ servers:
- localhost:50002 - localhost:50002
- localhost:50003 - localhost:50003
- localhost:50004 - localhost:50004
gateways:
- "localhost:8443"
...@@ -16,3 +16,5 @@ servers: ...@@ -16,3 +16,5 @@ servers:
- localhost:50002 - localhost:50002
- localhost:50003 - localhost:50003
- localhost:50004 - localhost:50004
gateways:
- "localhost:8443"
...@@ -16,4 +16,5 @@ servers: ...@@ -16,4 +16,5 @@ servers:
- localhost:50002 - localhost:50002
- localhost:50003 - localhost:50003
- localhost:50004 - localhost:50004
gatewayAddress: "localhost:8443" gateways:
- "localhost:8443"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment