From 1abc97cbc1fd7aefa052b4607a531af3e3b97eb6 Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Fri, 2 Oct 2026 11:04:35 +0100 Subject: [PATCH] Allow the reviewed TrueNAS poll wait in frozen v6.4.6 Apply only published PR #2375 (ec1c2c9e671292b2b694c1193a51e47226998e32) to restored packet 68f8bf20a3632da9df8eb4079cb76b32d6426c6b. The first-success test exhausted its three-second observation window; preserve every success and summary assertion while allowing twenty seconds. The prior failure and incomplete installation coverage remain adverse evidence; this does not establish host contention or qualification success. No product code, dependencies, metadata or later line changes enter this retry. Contract-Neutral: Test-only initial-poll observation budget matches reviewed PR #2375 without changing runtime, API or install contracts or weakening success assertions. Change-source: pulse-maintainer --- internal/api/truenas_handlers_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/api/truenas_handlers_test.go b/internal/api/truenas_handlers_test.go index 7f700ec04..31dfd4463 100644 --- a/internal/api/truenas_handlers_test.go +++ b/internal/api/truenas_handlers_test.go @@ -514,7 +514,9 @@ func TestTrueNASHandlers_HandleList_IncludesPollAndObservedSummary(t *testing.T) t.Cleanup(poller.Stop) handler.getPoller = func(context.Context) *monitoring.TrueNASPoller { return poller } - deadline := time.Now().Add(3 * time.Second) + // The poller records its first success within about 50ms; a loaded release + // qualification host once took longer than 3s (v6.4.6-rc.1, 1 Oct 2026). + deadline := time.Now().Add(20 * time.Second) for time.Now().Before(deadline) { summaries := poller.ConnectionSummaries("default", []config.TrueNASInstance{connection}) if summary, ok := summaries[connection.ID]; ok && summary.Poll != nil && summary.Poll.LastSuccessAt != nil && summary.Observed != nil {