From 17203f0d6a9d97a6942a9357f04dc316bb15c6c8 Mon Sep 17 00:00:00 2001 From: Patrick Stephens Date: Wed, 18 Dec 2024 15:50:21 +0000 Subject: [PATCH] tests: runtime_shell: custom_calyptia: use random input Signed-off-by: Patrick Stephens --- lib/cprofiles/include/cprofiles/cprof_info.h | 6 +++--- tests/runtime_shell/conf/custom_calyptia_fleet.conf | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/cprofiles/include/cprofiles/cprof_info.h b/lib/cprofiles/include/cprofiles/cprof_info.h index 10f06c905cd..1ab655f4531 100644 --- a/lib/cprofiles/include/cprofiles/cprof_info.h +++ b/lib/cprofiles/include/cprofiles/cprof_info.h @@ -20,14 +20,14 @@ #ifndef CPROF_INFO_H #define CPROF_INFO_H -#define CPROF_SOURCE_DIR "/src/fluent-bit" +#define CPROF_SOURCE_DIR "/Users/pat/github/fluent/fluent-bit" /* General flags set by /CMakeLists.txt */ #ifndef CPROF_HAVE_TIMESPEC_GET #define CPROF_HAVE_TIMESPEC_GET #endif -#ifndef CPROF_HAVE_GMTIME_R -#define CPROF_HAVE_GMTIME_R +#ifndef CPROF_HAVE_CLOCK_GET_TIME +#define CPROF_HAVE_CLOCK_GET_TIME #endif #ifndef CPROF_HAVE_CFL #define CPROF_HAVE_CFL diff --git a/tests/runtime_shell/conf/custom_calyptia_fleet.conf b/tests/runtime_shell/conf/custom_calyptia_fleet.conf index 71d0386ce03..944c9ca5bc2 100644 --- a/tests/runtime_shell/conf/custom_calyptia_fleet.conf +++ b/tests/runtime_shell/conf/custom_calyptia_fleet.conf @@ -1,7 +1,9 @@ [INPUT] - name dummy - tag dummy - dummy {"message": "not connected to fleet"} + name random + tag random.local + + # Read interval (sec) Default: 1 + interval_sec 1 [CUSTOM] name calyptia