mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Tests in ers
This commit is contained in:
committed by
Dan Christian Bogos
parent
3c2de17044
commit
1269ff9eca
@@ -20,6 +20,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
|
||||
package ers
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/engine"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
kafka "github.com/segmentio/kafka-go"
|
||||
)
|
||||
|
||||
var (
|
||||
rdrEvents chan *erEvent
|
||||
rdrErr chan error
|
||||
@@ -27,7 +40,6 @@ var (
|
||||
rdr EventReader
|
||||
)
|
||||
|
||||
/*
|
||||
func TestKafkaER(t *testing.T) {
|
||||
cfg, err := config.NewCGRConfigFromJSONStringWithDefaults(`{
|
||||
"ers": { // EventReaderService
|
||||
@@ -103,4 +115,3 @@ func TestKafkaER(t *testing.T) {
|
||||
}
|
||||
close(rdrExit)
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user