From ed24638200ff45024121f262191a108010b7f149 Mon Sep 17 00:00:00 2001 From: Thibault bui Koechlin Date: Mon, 25 May 2020 11:37:52 +0200 Subject: [PATCH] fix remark --- pkg/parser/parsing_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/parser/parsing_test.go b/pkg/parser/parsing_test.go index 35b72bbf7..c17f9dffb 100644 --- a/pkg/parser/parsing_test.go +++ b/pkg/parser/parsing_test.go @@ -129,6 +129,7 @@ func testOneParser(pctx *UnixParserCtx, dir string, b *testing.B) error { return nil } +//prepTests is going to do the initialisation of parser : it's going to load enrichment plugins and load the patterns. This is done here so that we don't redo it for each test func prepTests() (*UnixParserCtx, error) { var pctx *UnixParserCtx var p UnixParser