some stress tests corrections

This commit is contained in:
Radu Ioan Fericean
2012-02-08 22:48:33 +02:00
parent a10a952879
commit 54631dd01d
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ func main() {
cd := timespans.CallDescriptor{CstmId: "vdf", Subject: "rif", DestinationPrefix: "0256", TimeStart: t1, TimeEnd: t2}
result := timespans.CallCost{}
client, _ := jsonrpc.Dial("tcp", "localhost:5090")
runs := int(5 * 1e4)
runs := int(1e5)
i := 0
c := make(chan string)
for ; i < runs; i++ {

View File

@@ -52,6 +52,6 @@ print s.recv(4096)
i = 0
result = ""
for i in xrange(int(1e4) + 1):
for i in xrange(int(1e5) + 1):
result = rpc.call("Responder.Get", cd)
print i, result