Commit 9c1c71ca authored by Weixin Deng's avatar Weixin Deng
Browse files

Adjust client args

parent 2f8958cb
go run ../src/service.go \
-client \
-addr "10.0.0.1" \
-numPorts 8
-numPorts 8 \
-numServers 8 \
-dataSize 1 \
-serverDelay 0 \
......
......@@ -78,6 +78,7 @@ func parseArgs() Args {
}
}
args.servers = servers
fmt.Printf("numBackends: %d, numPorts: %d\n", numBackends, *numPorts)
}
Assert(len(args.servers) == args.numServers,
"numServers is not equal to the number of servers")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment