mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
some stress tests corrections
This commit is contained in:
@@ -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++ {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user