mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated account action plans integration tests for cache
This commit is contained in:
committed by
Dan Christian Bogos
parent
e037ce9076
commit
5da4cf6d1c
@@ -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)
|
||||
|
||||
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user