mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-02 20:29:43 +00:00
Corroborate PBS History integration fixtures with reported machine names
PR #2341 Core E2E run 36660586289 fails its desktop and phone PBS target assertions because the old fixture supplies only labels and a non-contract pbs.hostname. The reviewed identity repair requires reported pbs.nodeName or an explicit Agent link. Supply nodeName and retain the expected guest/standalone History targets and wrong-target rejection. No runtime behavior changes. Contract-Neutral: Integration-fixture machine identity only; existing History assertions and runtime contracts are unchanged. Change-source: pulse-maintainer
This commit is contained in:
parent
80e654381b
commit
5cc1f2f7b0
1 changed files with 2 additions and 1 deletions
|
|
@ -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}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue