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.

Fix discovery test Prometheus metric collision

rcourtman305aab88df08
diff --git a/internal/discovery/service_test.go b/internal/discovery/service_test.go
index 4601fa6322..f3251f65d6 100644
--- a/internal/discovery/service_test.go
+++ b/internal/discovery/service_test.go
@@ -35,8 +35,6 @@ func (f *fakeScanner) DiscoverServersWithCallbacks(ctx context.Context, subnet s
}
func TestPerformScanRecordsHistoryAndMetrics(t *testing.T) {
- t.Parallel()
-
service := NewService(nil, time.Minute, "192.168.1.0/24", func() config.DiscoveryConfig {
cfg := config.DefaultDiscoveryConfig()
cfg.SubnetBlocklist = []string{"10.0.0.0/24", "172.16.0.0/24"}
@@ -103,8 +101,6 @@ func TestPerformScanRecordsHistoryAndMetrics(t *testing.T) {
}
func TestPerformScanRecordsPartialFailure(t *testing.T) {
- t.Parallel()
-
service := NewService(nil, time.Minute, "auto", func() config.DiscoveryConfig {
cfg := config.DefaultDiscoveryConfig()
return cfg