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.

Corroborate PBS History integration fixtures with reported machine names

pulse-triage[bot]5cc1f2f7b06b
diff --git a/tests/integration/tests/63-pbs-history-targets.spec.ts b/tests/integration/tests/63-pbs-history-targets.spec.ts
index 2c85e80166..2abc4c08c8 100644
--- a/tests/integration/tests/63-pbs-history-targets.spec.ts
+++ b/tests/integration/tests/63-pbs-history-targets.spec.ts
@@ -95,7 +95,8 @@ for (const width of [1280, 390]) {
id: `pbs-${type}`, type: 'pbs', name: `backup-${type}`, displayName: `backup-${type}`,
platformId: `backup-${type}`, platformType: 'proxmox-pbs', sources: ['pbs'],
metricsTarget: { resourceType: 'agent', resourceId: `wrong-${type}` },
- pbs: { instanceId: `backup-${type}`, hostname: `backup-${type}`, datastores: [] },
+ // Correlate with the machine name PBS reports, never its presentation label.
+ pbs: { instanceId: `backup-${type}`, nodeName: `backup-${type}`, datastores: [] },
}));
const hosts = ['vm', 'agent'].map(type => ({ ...common, id: `host-${type}`, type,
name: `backup-${type}`, displayName: `backup-${type}`, platformId: `host-${type}`,