Add posibility to change Tenant from CGREvent with AttributeS for CDRs and ChargerS

This commit is contained in:
TeoV
2019-05-17 13:04:55 +03:00
committed by Dan Christian Bogos
parent e5ed5aea4e
commit bf10cc1fc5
7 changed files with 145 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ func TestSessionsBiRPCSessionAutomaticDisconnects(t *testing.T) {
// Make sure we are receiving a disconnect event
select {
case <-time.After(time.Duration(50 * time.Millisecond)):
case <-time.After(time.Duration(100 * time.Millisecond)):
t.Error("Did not receive disconnect event")
case disconnectEv := <-disconnectEvChan:
if engine.NewMapEvent(disconnectEv.EventStart).GetStringIgnoreErrors(utils.OriginID) != initArgs.CGREvent.Event[utils.OriginID] {