We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d48b0 commit f9c5924Copy full SHA for f9c5924
tests/runtime/filter_grep.c
@@ -181,7 +181,9 @@ void flb_test_filter_grep_invalid(void)
181
TEST_CHECK(bytes == -1);
182
}
183
184
- flb_stop(ctx);
+ if (ret == 0) {
185
+ flb_stop(ctx);
186
+ }
187
flb_destroy(ctx);
188
189
@@ -484,7 +486,9 @@ void flb_test_error_AND_regex_exclude(void)
484
486
ret = flb_start(ctx);
485
487
TEST_CHECK(ret != 0);
488
489
490
491
492
493
494
@@ -520,7 +524,9 @@ void flb_test_error_OR_regex_exclude(void)
520
524
521
525
522
526
523
527
528
529
530
531
532
0 commit comments