Updated SessionS tests

This commit is contained in:
Trial97
2020-12-07 12:22:08 +02:00
committed by Dan Christian Bogos
parent 65ce36fbe1
commit 83a891e145
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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 {