mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updating rpcclient tests
This commit is contained in:
@@ -207,9 +207,9 @@ func TestRPCITTimeout(t *testing.T) {
|
||||
return
|
||||
}
|
||||
var status map[string]interface{}
|
||||
if err := rpcPoolFirst.Call("Responder.Status", "3s", &status); err == nil {
|
||||
if err := rpcPoolFirst.Call("Responder.Status", "10s", &status); err == nil {
|
||||
t.Error("Expecting timeout")
|
||||
} else {
|
||||
} else if err.Error() != rpcclient.ErrReplyTimeout.Error() {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
@@ -412,6 +412,7 @@ func TestRPCITStatusBcastRALs1Up(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
func TestRPCITStatusBcastCmd(t *testing.T) {
|
||||
if !*testIntegration {
|
||||
return
|
||||
@@ -446,6 +447,7 @@ func TestRPCITStatusBcastCmd(t *testing.T) {
|
||||
t.Errorf("Received unexpected stats: %+v vs %+v", stats, loadInst)
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
func TestRPCITStopCgrEngine(t *testing.T) {
|
||||
if !*testIntegration {
|
||||
|
||||
Reference in New Issue
Block a user