File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1482,9 +1482,6 @@ static void test_buffer_limit_truncation()
14821482 /* The buffer limit is for the concatenated 'log' content, not the full JSON */
14831483 config -> multiline_buffer_limit = "80" ;
14841484
1485- /* Use the dummy 'docker' parser for JSON extraction */
1486- p = flb_parser_get ("docker" , config );
1487-
14881485 /* This parser will trigger on any content, ensuring concatenation. */
14891486 ml = flb_ml_create (config , "limit-test" );
14901487 TEST_CHECK (ml != NULL );
@@ -1495,8 +1492,8 @@ static void test_buffer_limit_truncation()
14951492 params .negate = FLB_FALSE ;
14961493 params .flush_ms = 1000 ;
14971494 params .key_content = "log" ;
1498- params .parser_ctx = p ; /* immediate single-line parser */
1499- params .parser_name = "docker" ; /* for delayed resolution if needed */
1495+ params .parser_ctx = NULL ;
1496+ params .parser_name = NULL ;
15001497
15011498 mlp = flb_ml_parser_create_params (config , & params );
15021499 TEST_CHECK (mlp != NULL );
You can’t perform that action at this time.
0 commit comments