test(host_agent): the NFS line test gives the host a reading, so its metrics render (#5996)
CI / lint (push) Successful in 2s
CI / unit (push) Successful in 1m31s
CI / integration (push) Successful in 1m33s
CI / publish (push) Successful in 1m8s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-17 09:51:07 -04:00
co-authored by Claude Opus 5.5
parent ad8bbd8d69
commit 1335b9afaf
+1 -1
View File
@@ -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},