Skip to content

PSMDB-1893 add test#1684

Merged
olexandr-havryliak merged 1 commit intov8.0from
PSMDB-1893-test-80
Feb 13, 2026
Merged

PSMDB-1893 add test#1684
olexandr-havryliak merged 1 commit intov8.0from
PSMDB-1893-test-80

Conversation

@olexandr-havryliak
Copy link

@olexandr-havryliak olexandr-havryliak commented Feb 12, 2026

This pull request adds a new test script to verify the behavior of server parameters that control the inclusion of the disks and mounts subsections under systemMetrics in FTDC diagnostic data. The test ensures that these subsections are correctly included or omitted based on the values of the diagnosticDataCollectionEnableSystemMetricsDisks and diagnosticDataCollectionEnableSystemMetricsMounts parameters, both at startup and when changed at runtime.

Key additions and their purposes:

New FTDC system metrics parameter tests:

  • Added jstests/noPassthrough/ftdc_system_metrics_disks_mounts_params.js to verify that the disks and mounts subsections in systemMetrics are controlled by their respective server parameters, testing both startup and runtime changes.
  • Implemented a helper function assertSystemMetricsSubsection to assert the presence or absence of a given subsection in FTDC system metrics, improving test clarity and reducing duplication.Anything in this description will be included in the commit message. Replace or delete this text before merging. Add links to testing in the comments of the PR.

@olexandr-havryliak olexandr-havryliak marked this pull request as ready for review February 13, 2026 09:34
@olexandr-havryliak olexandr-havryliak merged commit 2d29be7 into v8.0 Feb 13, 2026
4 checks passed
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.

2 participants

Comments