Skip to content

Commit

Permalink
tests: runtime_shell: custom_calyptia: use random input
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens committed Dec 18, 2024
1 parent 3b99604 commit 17203f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/cprofiles/include/cprofiles/cprof_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions tests/runtime_shell/conf/custom_calyptia_fleet.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 17203f0

Please sign in to comment.