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(test): add graceful shutdown wait to TestRunServer_WebSocket
rcourtman9b8a79df93ff
diff --git a/cmd/pulse/commands_test.go b/cmd/pulse/commands_test.goindex 88229de063..53487ec8bd 100644--- a/cmd/pulse/commands_test.go+++ b/cmd/pulse/commands_test.go@@ -866,6 +866,11 @@ func TestRunServer_WebSocket(t *testing.T) {t.Logf("WS Read Error: %v", err)}}++ // Explicitly cancel and wait for server shutdown before test cleanup+ // to avoid race condition where server writes files during temp dir removal+ cancel()+ time.Sleep(200 * time.Millisecond)}func TestRunServer_AllowedOrigins(t *testing.T) {