mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated all libraries
This commit is contained in:
committed by
Dan Christian Bogos
parent
df702b71aa
commit
7647c367b6
@@ -345,7 +345,7 @@ func testSessionSRplCheckAccount(t *testing.T) {
|
||||
if err := smgRplcSlvRPC.Call(utils.APIerSv2GetAccount, attrs, &acnt); err != nil {
|
||||
t.Error(err)
|
||||
// a tolerance of +/- 5ms is acceptable
|
||||
} else if rply := acnt.BalanceMap[utils.MetaVoice].GetTotalValue(); rply < float64(5*time.Second-45*time.Millisecond) || rply > float64(5*time.Second-35*time.Millisecond) {
|
||||
} else if rply := acnt.BalanceMap[utils.MetaVoice].GetTotalValue(); rply < float64(5*time.Second-46*time.Millisecond) || rply > float64(5*time.Second-35*time.Millisecond) {
|
||||
t.Errorf("Expecting: ~%v, received: %v", float64(5*time.Second-40*time.Millisecond), rply)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user