Updated account action plans integration tests for cache

This commit is contained in:
Trial97
2020-10-30 15:43:43 +02:00
committed by Dan Christian Bogos
parent e037ce9076
commit 5da4cf6d1c
148 changed files with 1715 additions and 1750 deletions

View File

@@ -130,7 +130,7 @@ func main() {
}
var err error
client, err = rpcclient.NewRPCClient(utils.TCP, *server, *tls, *keyPath, *certificatePath, *caPath, 3, 3,
time.Duration(1*time.Second), time.Duration(*replyTimeOut)*time.Second, *rpcEncoding, nil, false)
time.Second, time.Duration(*replyTimeOut)*time.Second, *rpcEncoding, nil, false)
if err != nil {
cgrConsoleFlags.PrintDefaults()
log.Fatal("Could not connect to server " + *server)

View File

@@ -44,7 +44,7 @@ func main() {
log.Fatal("Got config error: ", err.Error())
}
cdrsMasterRpc, err = rpcclient.NewRPCClient(utils.TCP, cdrsMasterCfg.ListenCfg().RPCJSONListen, false, "", "", "", 1, 1,
time.Duration(1*time.Second), time.Duration(2*time.Second), rpcclient.JSONrpc, nil, false)
time.Second, 2*time.Second, rpcclient.JSONrpc, nil, false)
if err != nil {
log.Fatal("Could not connect to rater: ", err.Error())
}