Add integration test for ExportCDRs with multiple exporters

This commit is contained in:
TeoV
2020-09-03 14:57:11 +03:00
committed by Dan Christian Bogos
parent 756e14d3d9
commit 8cc0af4981
11 changed files with 330 additions and 29 deletions

View File

@@ -80,7 +80,7 @@ func (httpJson *HTTPJsonMapEe) ExportEvent(cgrEv *utils.CGREvent) (err error) {
httpJson.Unlock()
}()
httpJson.dc[utils.NumberOfEvents] = httpJson.dc[utils.NumberOfEvents].(int) + 1
httpJson.dc[utils.NumberOfEvents] = httpJson.dc[utils.NumberOfEvents].(int64) + 1
valMp := make(map[string]string)
eeReq := NewEventExporterRequest(utils.MapStorage(cgrEv.Event), httpJson.dc,