Skip to content

Commit

Permalink
tests: runtime: filter_stdout: initialize scheduler
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Sep 27, 2024
1 parent e414972 commit 19754f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/runtime/filter_stdout.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */

#include <fluent-bit.h>
#include <fluent-bit/flb_scheduler.h>

#include "flb_tests_runtime.h"

/* Test data */
Expand All @@ -16,7 +18,7 @@ TEST_LIST = {
{NULL, NULL}
};

/*
/*
* This test case is to check if fluent-bit allows case-insensitive plugin name.
* This test is not unique to filter_stdout, but we test here :) ,
*/
Expand All @@ -39,6 +41,7 @@ void flb_test_filter_stdout_case_insensitive(void)
* In general, macOS requests surely initialization for pthread stuffs.
*/
flb_init_env();
flb_sched_ctx_init();
flb_destroy(ctx);
}

Expand Down

0 comments on commit 19754f8

Please sign in to comment.