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.

test(agent): achieve 95% coverage for pulse-agent

rcourtman22e1cc5613a3
diff --git a/cmd/pulse-agent/main_test.go b/cmd/pulse-agent/main_test.go
index 2cb87c160a..83b69e083a 100644
--- a/cmd/pulse-agent/main_test.go
+++ b/cmd/pulse-agent/main_test.go
@@ -1429,7 +1429,7 @@ func TestRun_KubeRetry(t *testing.T) {
errCh := make(chan error)
go func() {
// Only enable kubernetes
- errCh <- run(ctx, []string{"-token", "T", "-enable-kubernetes=true", "-enable-host=false"}, func(s string) string { return "" })
+ errCh <- run(ctx, []string{"-token", "T", "-enable-kubernetes=true", "-enable-host=false", "-enable-docker=false"}, func(s string) string { return "" })
}()
select {