Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Initialise the independent-agent guest-cycle safety fixture

pulse-triage[bot]c1dc2f445fe9
diff --git a/internal/monitoring/monitor_host_agents_test.go b/internal/monitoring/monitor_host_agents_test.go
index f78c83e85a..10fa97fddb 100644
--- a/internal/monitoring/monitor_host_agents_test.go
+++ b/internal/monitoring/monitor_host_agents_test.go
@@ -38,7 +38,7 @@ func TestGuestPollOwnershipRuntimeDoesNotWithdrawIndependentAgentEvidence(t *tes
hosts := m.state.GetSnapshot().Hosts
key := guestMetadataCacheKey("site-a", "node", 105)
metadata := guestMetadataCacheEntry{osName: "OpenBSD", osInfoFailureCount: guestAgentOSInfoFailureThreshold, osInfoSkip: true, fetchedAt: time.Now().Add(-time.Minute)}
- m.guestMetadataCache[key] = metadata
+ m.guestMetadataCache = map[string]guestMetadataCacheEntry{key: metadata}
memKey := guestMemoryCacheKey("site-a", "node", 105)
memory := agentMemCacheEntry{info: memoryLifecycleSample(4096), fetchedAt: time.Now().Add(-time.Minute)}
m.vmAgentMemCache = map[string]agentMemCacheEntry{memKey: memory}