Revise NewRPCClient helper function

This commit is contained in:
ionutboangiu
2024-10-14 13:16:16 +03:00
committed by Dan Christian Bogos
parent 89dfc3e3d0
commit d4e4facc6b
56 changed files with 80 additions and 312 deletions

View File

@@ -108,10 +108,7 @@ func testTutStopEngine(t *testing.T) {
}
func testTutRpcConn(t *testing.T) {
var err error
if tutRpc, err = engine.NewRPCClient(tutCfg.ListenCfg()); err != nil {
t.Fatal("could not connect to rater: ", err.Error())
}
tutRpc = engine.NewRPCClient(t, tutCfg.ListenCfg())
}
func testTutFromFolder(t *testing.T) {