Skip to content

Commit

Permalink
cobj_record_accessor: test: internal: Add internal test cases for CFL…
Browse files Browse the repository at this point in the history
… based RA

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Nov 7, 2024
1 parent be128aa commit 1ef920c
Show file tree
Hide file tree
Showing 4 changed files with 1,516 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/flb_cobj_ra_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,6 @@ static int append_subkey_kvlist(struct cfl_variant *vobj, struct mk_list *subkey
if (*matched >= 0) {
*matched += 1;
}
flb_info("[cobj_ra_key][nested] levels = %d", levels);
flb_info("[cobj_ra_key][nested] matched = %d", *matched);
if (*matched > levels) {
return 0;
}
Expand Down
1 change: 1 addition & 0 deletions tests/internal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ if(FLB_RECORD_ACCESSOR)
set(UNIT_TESTS_FILES
${UNIT_TESTS_FILES}
record_accessor.c
cobj_record_accessor.c
)
endif()

Expand Down
Loading

0 comments on commit 1ef920c

Please sign in to comment.