Stop disk-temperature fixture workers before temporary data cleanup

The containing monitoring suite observed TempDir cleanup failing while this fixture left its alert manager running. Register the existing joined shutdown before TempDir removal; temperature, retained-reading, linked-agent and exclusion assertions are unchanged.

Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-10-09 16:55:29 +01:00
parent 98037ba9d9
commit e3c6233469
@@ -1171,6 +1171,7 @@ func TestMergeHostAgentSMARTIntoDisksMarksDisksTheAgentReports(t *testing.T) {
// device.
func TestCheckPhysicalDiskAlertsRaisesProxmoxDiskTemperatureAlerts(t *testing.T) {
manager := alerts.NewManagerWithDataDir(t.TempDir())
t.Cleanup(manager.Stop)
m := &Monitor{alertManager: manager}
const instance, node = "pve1", "node1"
alertID := func(devPath string) string {