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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Stabilize mock broadcast freshness test
rcourtman2fcf79f32a87
diff --git a/internal/monitoring/monitor_unified_state_test.go b/internal/monitoring/monitor_unified_state_test.goindex 1764830a8f..5fc5c2558a 100644--- a/internal/monitoring/monitor_unified_state_test.go+++ b/internal/monitoring/monitor_unified_state_test.go@@ -487,8 +487,21 @@ func TestMonitorGetUnifiedReadStateOrSnapshotUsesCanonicalMockUnifiedResources(t}func TestMonitorBuildBroadcastFrontendStateUsesCanonicalMockUnifiedResources(t *testing.T) {+ previousEnabled := mock.IsMockEnabled()+ previousConfig := mock.GetConfig()+ t.Cleanup(func() {+ mustSetMockEnabled(t, false)+ mock.SetMockConfig(previousConfig)+ if previousEnabled {+ mustSetMockEnabled(t, true)+ }+ })++ stableConfig := mock.DefaultConfig+ stableConfig.UpdateInterval = 5 * time.Minute+ mustSetMockEnabled(t, false)+ mock.SetMockConfig(stableConfig)mustSetMockEnabled(t, true)- t.Cleanup(func() { mustSetMockEnabled(t, false) })graph := mock.CurrentFixtureGraph()legacyName := ""