conmon/runner
Jindrich Novy 7d82b28a6b Enhance k8s-file log rotation test coverage for corruption fix
Add comprehensive test cases to validate the k8s-file log rotation fix that
prevents buffer corruption during log rotation (commit 29d17be). The original
issue manifested as corrupted log entries with repeated timestamps and broken
formatting when logs exceeded the configured max_size.

New test coverage includes:
- Small log size limit validation (50-100 bytes) to trigger rotation scenarios
- Edge case testing with various rotation thresholds (1B to 10KB)
- Log file creation and content integrity validation
- Stress testing with extremely small rotation limits
- Validation that log files can handle proper k8s format content

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2025-07-24 12:07:41 +02:00
..
config Lint/format fixes for golang 1.19 2023-02-01 14:41:20 -05:00
conmon Add test suite for k8s-file log rotation fix 2025-07-21 18:56:52 +02:00
conmon_test Enhance k8s-file log rotation test coverage for corruption fix 2025-07-24 12:07:41 +02:00