mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
ensure flags are passed to startEngine helper
This commit is contained in:
@@ -408,7 +408,7 @@ func (ng TestEngine) Run(t testing.TB, extraFlags ...string) (*birpc.Client, *co
|
||||
if ng.PreStartHook != nil {
|
||||
ng.PreStartHook(t, cfg)
|
||||
}
|
||||
startEngine(t, cfg, ng.LogBuffer, ng.GracefulShutdown)
|
||||
startEngine(t, cfg, ng.LogBuffer, ng.GracefulShutdown, extraFlags...)
|
||||
client := NewRPCClient(t, cfg.ListenCfg())
|
||||
LoadCSVs(t, client, ng.TpPath, ng.TpFiles)
|
||||
return client, cfg
|
||||
|
||||
Reference in New Issue
Block a user