mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 12:49:54 +05:00
Diameter tests connecting over socket between components
This commit is contained in:
@@ -208,7 +208,7 @@ func TestDmtAgentTPFromFolder(t *testing.T) {
|
||||
if err := apierRpc.Call("ApierV2.LoadTariffPlanFromFolder", attrs, &loadInst); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
time.Sleep(time.Duration(*waitRater) * time.Millisecond) // Give time for scheduler to execute topups
|
||||
time.Sleep(time.Duration(1000) * time.Millisecond) // Give time for scheduler to execute topups
|
||||
}
|
||||
|
||||
func TestConnectDiameterClient(t *testing.T) {
|
||||
|
||||
@@ -47,8 +47,8 @@
|
||||
|
||||
"sm_generic": {
|
||||
"enabled": true,
|
||||
"rater": "internal",
|
||||
"cdrs": "internal",
|
||||
"rater": "127.0.0.1:2013",
|
||||
"cdrs": "127.0.0.1:2013",
|
||||
},
|
||||
|
||||
"diameter_agent": {
|
||||
|
||||
Reference in New Issue
Block a user