File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1414#include <chunkio/chunkio.h>
1515#include <chunkio/cio_utils.h>
1616#include <string.h>
17+ #include <cmetrics/cmetrics.h>
1718
1819#include "flb_tests_internal.h"
1920
@@ -474,6 +475,10 @@ static void test_chunk_restore_alias_plugin_match_multiple()
474475 }
475476 config_ready = FLB_TRUE ;
476477
478+ #ifdef FLB_HAVE_METRICS
479+ cmt_initialize ();
480+ #endif
481+
477482 ret = flb_input_instance_init (& in , & config );
478483 TEST_CHECK (ret == 0 );
479484 if (ret != 0 ) {
@@ -705,6 +710,10 @@ static void test_chunk_restore_alias_plugin_null_matches_all()
705710 }
706711 config_ready = FLB_TRUE ;
707712
713+ #ifdef FLB_HAVE_METRICS
714+ cmt_initialize ();
715+ #endif
716+
708717 ret = flb_input_instance_init (& in , & config );
709718 TEST_CHECK (ret == 0 );
710719 if (ret != 0 ) {
You can’t perform that action at this time.
0 commit comments