From 1335b9afaf13a34e46c4f5d7a7f7586b2af4aea9 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 17 Oct 2026 09:51:07 -0400 Subject: [PATCH] test(host_agent): the NFS line test gives the host a reading, so its metrics render (#5996) Co-Authored-By: Claude Opus 5.5 --- tests/plugins/host_agent/test_host_health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/plugins/host_agent/test_host_health.py b/tests/plugins/host_agent/test_host_health.py index 459fc66..9678436 100644 --- a/tests/plugins/host_agent/test_host_health.py +++ b/tests/plugins/host_agent/test_host_health.py @@ -104,7 +104,7 @@ async def test_an_nfs_mount_says_what_a_request_took_and_a_local_one_says_nothin app, "host_agent", "_host_metrics.html", host=SimpleNamespace(address="10.0.0.2"), stale=False, reg=SimpleNamespace(distro=None, kernel=None, arch=None, agent_version=None, last_seen_at=datetime.now(timezone.utc)), - hostlvl={}, cores=[], nets={}, disks_io={}, temps={}, + hostlvl={"cpu_pct": 10.0}, cores=[], nets={}, disks_io={}, temps={}, mounts={"/nfs/data": {"disk_used_pct": 40.0, "nfs_ops_per_sec": 4.0, "nfs_exe_ms": 250.0, "nfs_retrans": 3.0}, "/nfs/media": {"disk_used_pct": 30.0, "nfs_ops_per_sec": 0.0},