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

Final form of the initial integration test sans gold output

This runs 4 clients, each sends a message to client id % 4 + 1.
parent 28aca132
No related branches found
No related tags found
No related merge requests found
......@@ -49,10 +49,14 @@ LASTNODE="localhost:50004"
echo "STARTING CLIENTS..."
CTR=0
# for cid in 1 2 3 4; do
# for nid in 1 2 3 4; do
for cid in 1; do
for cid in 1 2 3 4; do
# TODO: Change the recipients to send multiple messages. We can't
# run multiple clients with the same user id so we need
# updates to make that work.
# for nid in 1 2 3 4; do
for nid in 1; do
nid=$((($cid % 4) + 1))
../bin/client --numnodes 5 -s $LASTNODE -i $cid -d $nid -m "Hello, $nid" > results/client$cid$nid.out 2>&1 &
RETVAL=$!
echo "../bin/client -s $LASTNODE -i $cid -d $nid -m \"Hello, $nid\" -- $RETVAL"
......
logPath: "results/server-1.log"
verbose: "false"
batchSize: 1
batchSize: 4
servers:
- 50000
- 50001
......
logPath: "results/server-2.log"
verbose: "false"
batchSize: 1
batchSize: 2
servers:
- 50000
- 50001
......
logPath: "results/server-3.log"
verbose: "false"
batchSize: 1
batchSize: 4
servers:
- 50000
- 50001
......
logPath: "results/server-4.log"
verbose: "false"
batchSize: 1
batchSize: 4
servers:
- 50000
- 50001
......
logPath: "results/server-5.log"
verbose: "false"
batchSize: 1
batchSize: 4
servers:
- 50000
- 50001
......
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