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.

Overlap private updater discovery and recovery validators

pulse-triage[bot]c48633472edf
diff --git a/scripts/installtests/install_sh_test.go b/scripts/installtests/install_sh_test.go
index 8d04bd33e5..c1294258ba 100644
--- a/scripts/installtests/install_sh_test.go
+++ b/scripts/installtests/install_sh_test.go
@@ -4829,6 +4829,10 @@ func TestRootInstallTemporaryInputsRemainPrivateAndAuthenticated(t *testing.T) {
// Execute discovery and every installer refresh consumer together. systemd
// manager operations are confined doubles; real inventory uses a fixture root.
func TestRootInstallTimerDiscoveryReachesConsentPreservingRefresh(t *testing.T) {
+ // The manager doubles and real systemctl --root reads own a private unit
+ // tree. Admit this suite through Go's existing parallel budget, without
+ // changing its internal order or starting its watchdog while it is queued.
+ t.Parallel()
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
defer cancel()
cmd := exec.CommandContext(ctx, "python3", repoFile("scripts", "tests", "test_server_update_timer.py"), "-v")
@@ -4842,6 +4846,10 @@ func TestRootInstallTimerDiscoveryReachesConsentPreservingRefresh(t *testing.T)
// Execute both standalone discovery producers and every mutation-owning
// consumer, including OR-list callers where Bash disables function errexit.
func TestRootInstallServiceDiscoveryFailsClosedWithoutShortReads(t *testing.T) {
+ // No live manager is consulted: even the real systemctl controls read an
+ // isolated --root. Other private installer suites need not wait for these
+ // unchanged inventory timeouts and mutation-refusal controls.
+ t.Parallel()
ctx, cancel := context.WithTimeout(context.Background(), 90*time.Second)
defer cancel()
cmd := exec.CommandContext(ctx, "python3", repoFile("scripts", "tests", "test_server_service_discovery.py"), "-v")
diff --git a/scripts/installtests/pulse_auto_update_test.go b/scripts/installtests/pulse_auto_update_test.go
index 0a832c7ba2..b4a80a07df 100644
--- a/scripts/installtests/pulse_auto_update_test.go
+++ b/scripts/installtests/pulse_auto_update_test.go
@@ -16,6 +16,9 @@ import (
// exercise its exact recipe, admission, signature/archive and recovery wiring;
// the hosted runner still supplies the actual systemd/real-Pulse verdict.
func TestAutoUpdateNativeSystemdHarnessContracts(t *testing.T) {
+ // Each harness control owns its files, signer and modelled manager. Only
+ // admission overlaps; all phase/cleanup oracles and deadlines stay intact.
+ t.Parallel()
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
defer cancel()
cmd := exec.CommandContext(ctx, "python3", repoFile("scripts", "tests", "test_auto_update_systemd.py"), "-v")
@@ -854,6 +857,10 @@ echo "AFTER_CALLER"
// Only downloads and systemd are replaced; file copies, comparisons, renames,
// executable version reads and SSH signature verification are real and local.
func TestAutoUpdateBackupTransaction(t *testing.T) {
+ // The complete signed transaction matrix owns its temporary paths and
+ // command doubles. Keep its scenarios ordered within one parallel worker;
+ // no real process inventory or service manager is shared with other tests.
+ t.Parallel()
if _, err := exec.LookPath("ssh-keygen"); err != nil {
t.Skip("ssh-keygen unavailable for signed offline installer fixture")
}