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
Fix ping timeout ceiling expectation
rcourtman8f32bdd396b9
diff --git a/internal/monitoring/availability_poller_purehelpers_branchcov0722am_test.go b/internal/monitoring/availability_poller_purehelpers_branchcov0722am_test.goindex 96df0de52c..0af733d310 100644--- a/internal/monitoring/availability_poller_purehelpers_branchcov0722am_test.go+++ b/internal/monitoring/availability_poller_purehelpers_branchcov0722am_test.go@@ -176,7 +176,7 @@ func TestBranchcov0722PingArgsDefaultArmCeilingArithmetic(t *testing.T) {// Fractional seconds round up to the next whole second.{"one thousand one millis rounds up to two seconds", 1001, 2},{"fifteen hundred millis rounds up to two seconds", 1500, 2},- {"five thousand nine hundred ninety nine rounds up to five seconds", 5999, 5},+ {"five thousand nine hundred ninety nine rounds up to six seconds", 5999, 6},// NOTE: the `if timeoutSeconds <= 0 { timeoutSeconds = 1 }` clamp is// unreachable here. The non-positive fallback guarantees timeoutMillis// is at least DefaultAvailabilityTimeoutMillis (2000) before this arm,