Skip to content

Count low-disk warnings separately from probe diagnostics - #358

Open
peter-lawrey wants to merge 2 commits into
bugfix/bounded-event-loop-terminationfrom
bugfix/disk-monitor-warning-count
Open

peter-lawrey wants to merge 2 commits into
bugfix/bounded-event-loop-terminationfrom
bugfix/disk-monitor-warning-count

Conversation

@peter-lawrey

Copy link
Copy Markdown
Member

DiskSpaceMonitorTest.pollDiskSpace counted PERF messages from slow file-store probes as low-disk warnings, so a busy host could fail despite the expected warning frequency. Count only the scheduled low-space WARN messages and inject additional PERF messages in the fixture to cover this distinction. The threshold, observation period, warning-count range and production monitor remain unchanged.

Stacked on #357 to keep this fixture correction separate. The behaviour and regression mapping are documented in src/main/docs/disk-monitor-test-warnings.adoc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant