Skip to content

Commit

Permalink
tests: runtime: config_map_opts: 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 d29cc8c commit e414972
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/runtime/config_map_opts.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* -*- 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 functions */
Expand All @@ -17,6 +18,7 @@ void flb_test_config_map_opts(void)
int in_ffd, r;

flb_init_env();
flb_sched_ctx_init();

ctx = flb_create();
in_ffd = flb_input(ctx, (char *) "tail", NULL);
Expand Down

0 comments on commit e414972

Please sign in to comment.