edit unittests for JSON parser
This commit is contained in:
@@ -125,7 +125,7 @@ func TestRunParserAndGatherJSON(t *testing.T) {
|
||||
k.acc = &acc
|
||||
defer close(k.done)
|
||||
|
||||
k.parser, _ = parsers.NewJSONParser("kafka_json_test", []string{}, nil)
|
||||
k.parser, _ = parsers.NewJSONParser("kafka_json_test", []string{}, nil, nil)
|
||||
go k.receiver()
|
||||
in <- saramaMsg(testMsgJSON)
|
||||
acc.Wait(1)
|
||||
|
||||
Reference in New Issue
Block a user