Skip to content

Commit

Permalink
chore(ci): Swap traditional file generator for logrotate_fs for file_…
Browse files Browse the repository at this point in the history
…to_blackhole test (#22285)

* chore(ci): Swap traditional file generator for logrotate_fs for file_to_blackhole test

The current config fails since limits started being applied to the lading container. We think this
is a good time to update to the preferred generator anyway.

Signed-off-by: Jesse Szwedko <[email protected]>

* Fix whitespace

Signed-off-by: Jesse Szwedko <[email protected]>

---------

Signed-off-by: Jesse Szwedko <[email protected]>
  • Loading branch information
jszwedko authored Jan 29, 2025
1 parent cb09d9a commit d49cf33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions regression/cases/file_to_blackhole/lading/lading.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
generator:
- file_gen:
traditional:
logrotate_fs:
seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53,
59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131]
path_template: "/tmp/file-gen-%NNN%.log"
duplicates: 4
load_profile:
constant: 100MiB
concurrent_logs: 4
maximum_bytes_per_log: 100MiB
total_rotations: 5
max_depth: 0
variant: "ascii"
bytes_per_second: "100Mb"
maximum_bytes_per_file: "100Mb"
maximum_prebuild_cache_size_bytes: "400Mb"
maximum_prebuild_cache_size_bytes: 250MiB
mount_point: /smp-shared

blackhole:
- tcp:
Expand Down
2 changes: 1 addition & 1 deletion regression/cases/file_to_blackhole/vector/vector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sources:
file:
type: "file"
include:
- "/tmp/file-gen-*.log"
- "/smp-shared/*.log"

##
## Sinks
Expand Down

0 comments on commit d49cf33

Please sign in to comment.