tests: runtime: filter_modify: fix sleep() usage and others
@@ -83,7 +83,7 @@ static struct filter_test *filter_test_create(struct flb_lib_out_cb *data)
static void filter_test_destroy(struct filter_test *ctx)
{
- sleep(0.2);
+ sleep(1);
flb_stop(ctx->flb);
flb_destroy(ctx->flb);
flb_free(ctx);
@@ -1098,7 +1098,7 @@ static int callback_count(void* data, size_t size, void* cb_data)
{
if (size > 0) {
flb_debug("[test_filter_modify] received message: %s", data);
- add_output_num(size); /* success */
+ add_output_num(); /* success */
}
return 0;
}
