Skip to content

Commit 7568fdd

Browse files
Leonardo Alminanaedsiper
authored andcommitted
tests: fixed lagging ring buffer register function call
Signed-off-by: Leonardo Alminana <[email protected]>
1 parent b7ae39a commit 7568fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/internal/ring_buffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static void test_smart_flush()
115115
exit(EXIT_FAILURE);
116116
}
117117

118-
ret = flb_ring_buffer_register(rb, evl, window);
118+
ret = flb_ring_buffer_add_event_loop(rb, evl, window);
119119
TEST_CHECK(ret == 0);
120120
if (ret) {
121121
exit(EXIT_FAILURE);

0 commit comments

Comments
 (0)