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
Keep the session-recovery fixture caller alive for its first poll
pulse-triage[bot]1ba33a667cba
diff --git a/internal/monitoring/monitor_session_admission_test.go b/internal/monitoring/monitor_session_admission_test.goindex 86640ccc50..566aad655f 100644--- a/internal/monitoring/monitor_session_admission_test.go+++ b/internal/monitoring/monitor_session_admission_test.go@@ -78,7 +78,9 @@ func TestPBSInvalidSessionKeepsFirstPollBoundary(t *testing.T) {project("invalid-session")originalDelays := connRetryDelays- connRetryDelays = []time.Duration{time.Millisecond}+ // Include the next missing-client check: otherwise the fixture falls+ // into the production 60-second cap and ends the poll caller first.+ connRetryDelays = []time.Duration{time.Millisecond, time.Millisecond}defer func() { connRetryDelays = originalDelays }()ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)defer cancel()@@ -88,6 +90,9 @@ func TestPBSInvalidSessionKeepsFirstPollBoundary(t *testing.T) {}assertPBSConnectionProjection(t, monitor, instance.Name, false, "offline")project("awaiting-poll")+ if err := ctx.Err(); err != nil {+ t.Fatalf("fixture ended its poll caller before first-poll proof: %v", err)+ }task, err := newPBSPollProvider().BuildPollTask(monitor, instance.Name)if err != nil {t.Fatal(err)