mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
replaced sched_hangup with sched_transfer
This commit is contained in:
committed by
Dan Christian Bogos
parent
e194979b99
commit
c233daef58
@@ -203,7 +203,7 @@ func testSesMRSItInitSession(t *testing.T) {
|
||||
}, &rply); err != nil {
|
||||
t.Error(err)
|
||||
return
|
||||
} else if *rply.MaxUsage != 3*time.Hour {
|
||||
} else if *rply.MaxUsage != -1 {
|
||||
t.Errorf("Unexpected MaxUsage: %v", rply.MaxUsage)
|
||||
}
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
|
||||
@@ -202,7 +202,7 @@ func testSesExpItInitSession(t *testing.T) {
|
||||
}, &rply); err != nil {
|
||||
t.Error(err)
|
||||
return
|
||||
} else if *rply.MaxUsage != 3*time.Hour {
|
||||
} else if *rply.MaxUsage != -1 {
|
||||
t.Errorf("Unexpected MaxUsage: %v", rply.MaxUsage)
|
||||
}
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
|
||||
@@ -331,7 +331,8 @@ func testSesRndItPrepareCDRs(t *testing.T) {
|
||||
}, &reply); err != nil {
|
||||
t.Error(err)
|
||||
return
|
||||
} else if *reply.MaxUsage != sesRndExpMaxUsage {
|
||||
}
|
||||
if sesRndCgrEv.Event[utils.RequestType] == "*prepaid" && *reply.MaxUsage != -1 {
|
||||
t.Errorf("Unexpected MaxUsage: %v", reply.MaxUsage)
|
||||
}
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
|
||||
Reference in New Issue
Block a user