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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
test: align teardown stubs with isolated runs
pulse-triage[bot]3c08780e704f
diff --git a/tests/integration/scripts/run-tests-cleanup.test.mjs b/tests/integration/scripts/run-tests-cleanup.test.mjsindex db707d7d39..9720e22eb0 100644--- a/tests/integration/scripts/run-tests-cleanup.test.mjs+++ b/tests/integration/scripts/run-tests-cleanup.test.mjs@@ -14,14 +14,22 @@ for (const suite of ['core', 'all']) {const dir = mkdtempSync(path.join(tmpdir(), 'pulse-cleanup-test-'));try {const stubs = {- docker: `if [ "$1 $2 $4" = "compose -f down" ]; then exit ${cleanupStatus}; fi+ docker: `if [ "$1" = compose ]; then+ case " $* " in+ *" down -v "*) exit ${cleanupStatus} ;;+ *" port pulse-test 7655 "*) echo 127.0.0.1:17655; exit 0 ;;+ *" port pulse-test 7656 "*) echo 127.0.0.1:17656; exit 0 ;;+ *" port mock-github 8080 "*) echo 127.0.0.1:18080; exit 0 ;;+ esac+ficase "$1 $2" in'inspect -f') echo true ;;esacexit 0`,curl: 'exit 0',go: 'exit 0',- node: 'exit 0',+ node: `if [ "$1" = -e ]; then printf '%s' 0123456789abcdef0123456789abcdef; fi+exit 0`,npx: `echo test >> '${dir}/tests-run'\nexit 0`,};for (const [name, body] of Object.entries(stubs)) {