mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Repaired test in engine
This commit is contained in:
committed by
Dan Christian Bogos
parent
bcb564240e
commit
b9cc2829f2
@@ -331,7 +331,7 @@ func TestDispatcherHostCallNilRPCConn(t *testing.T) {
|
||||
var args int
|
||||
var reply *int
|
||||
|
||||
experr := "nil rpc in argument method: method in: 0 out: <nil>"
|
||||
experr := "dial tcp 127.0.0.1:2012: connect: connection refused"
|
||||
err := dH.Call("method", args, reply)
|
||||
|
||||
if err == nil || err.Error() != experr {
|
||||
|
||||
Reference in New Issue
Block a user