Skip to content

Commit 2c01207

Browse files
committed
tests: internal: stream_processor: set the event loop into the engine
Signed-off-by: Eduardo Silva <[email protected]>
1 parent e09029d commit 2c01207

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/internal/stream_processor.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,7 @@ static void test_conv_from_str_to_num()
815815

816816
config = flb_config_init();
817817
config->evl = mk_event_loop_create(256);
818+
flb_engine_evl_set(config->evl);
818819

819820
ret = flb_storage_create(config);
820821
if (!TEST_CHECK(ret == 0)) {
@@ -841,7 +842,7 @@ static void test_conv_from_str_to_num()
841842
msgpack_pack_array(&pck, 2);
842843
flb_pack_time_now(&pck);
843844
msgpack_pack_map(&pck, 2);
844-
845+
845846
msgpack_pack_str(&pck, 4);
846847
msgpack_pack_str_body(&pck, "word", 4);
847848
msgpack_pack_str(&pck, 4);

0 commit comments

Comments
 (0)