Skip to content

Commit 2af2017

Browse files
pwhelanedsiper
authored andcommitted
tests/runtime/custom_calyptia: fix segfault due to incomplete init of custom calyptia plugin.
Signed-off-by: Phillip Whelan <[email protected]>
1 parent b938c4d commit 2af2017

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/runtime/custom_calyptia_input_test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ static struct test_context *init_test_context()
5858
return NULL;
5959
}
6060

61+
mk_list_init(&t_ctx->ctx->ins->net_properties);
62+
6163
/* Initialize test values in ctx */
6264
t_ctx->ctx->api_key = flb_strdup("test_api_key");
6365
t_ctx->ctx->fleet_config_dir = flb_strdup("/test/config/dir");

0 commit comments

Comments
 (0)