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.

Preserve VMware exclusion test boundaries

rcourtman9ea76893737e
diff --git a/tests/integration/tests/41-vmware-phase1-exclusion-integrity.spec.ts b/tests/integration/tests/41-vmware-phase1-exclusion-integrity.spec.ts
index 9fa59e9c7d..35257f678f 100644
--- a/tests/integration/tests/41-vmware-phase1-exclusion-integrity.spec.ts
+++ b/tests/integration/tests/41-vmware-phase1-exclusion-integrity.spec.ts
@@ -50,7 +50,15 @@ test.describe('VMware phase-1 exclusion integrity', () => {
let unexpectedRecoveryApiCall: string | null = null;
await page.route('**/api/vmware/**', async (route) => {
- unexpectedVmwareApiCall = route.request().url();
+ const url = new URL(route.request().url());
+ if (
+ route.request().method() === 'GET' &&
+ url.pathname === '/api/vmware/connections'
+ ) {
+ await route.continue();
+ return;
+ }
+ unexpectedVmwareApiCall = url.pathname;
await route.abort();
});