mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated SessionS tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
65ce36fbe1
commit
83a891e145
@@ -133,6 +133,7 @@ cgrates (0.11.0~dev) UNRELEASED; urgency=medium
|
||||
* [DispatcherS] Removed connection pool from DispatcherHost structure
|
||||
* [DispatcherS] Updated *broadcast, *broadcast_sync and *broadcast_async to behave similar to RPCPool
|
||||
* [ActionsS] Added *remote_set_account action
|
||||
* [SessionS] Properly charge terminate without initiate event
|
||||
|
||||
-- DanB <danb@cgrates.org> Wed, 19 Feb 2020 13:25:52 +0200
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ func testSessionsItUpdateNonexist(t *testing.T) {
|
||||
UpdateSession: true,
|
||||
CGREventWithOpts: &utils.CGREventWithOpts{
|
||||
Opts: map[string]interface{}{
|
||||
utils.OptsDebitInterval: "10s",
|
||||
utils.OptsDebitInterval: "0s",
|
||||
},
|
||||
CGREvent: &utils.CGREvent{
|
||||
Tenant: "cgrates.org",
|
||||
@@ -245,7 +245,7 @@ func testSessionsItUpdateNonexist(t *testing.T) {
|
||||
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
|
||||
eAcntVal = 8.582900
|
||||
eAcntVal = 8.599600
|
||||
if err := sItRPC.Call(utils.APIerSv2GetAccount, attrs, &acnt); err != nil {
|
||||
t.Error(err)
|
||||
} else if acnt.BalanceMap[utils.MONETARY].GetTotalValue() != eAcntVal {
|
||||
|
||||
Reference in New Issue
Block a user